balena-cli/lib/utils
Akis Kesoglou 8291c96e69 Make specifying the version during configuration optional
`version` used to be optional but it seems we recently had to make it a required parameter. However it really feels redundant when all it’s used for is to determine whether the command should issue a legacy user API key or a provisioning key.

This makes version optional but tries to figure it out by itself by reading os-release from the image's boot partition. This is not foul-proof however, and while it'll work with most recent images it won't work with all and in that case it'll bail out and only then warn the user to specify it via the --version argument.

Change-type: minor
2018-11-16 19:39:43 +02:00
..
device Rename everything from 'resin' to 'balena' 2018-10-29 22:29:02 +01:00
compose.coffee Store separate local qemu binaries for aarch64 and arm architectures. 2018-11-07 17:49:20 +01:00
compose.d.ts compose: Add compose typings 2018-10-19 16:44:39 +02:00
config.ts Make specifying the version during configuration optional 2018-11-16 19:39:43 +02:00
deploy-legacy.coffee Address review feedback 2018-03-22 13:26:47 +02:00
docker.coffee Rename expectedError to exitWithExpectedError 2018-04-17 15:18:06 +02:00
helpers.ts Make specifying the version during configuration optional 2018-11-16 19:39:43 +02:00
ignore.ts Dont ignore balena metadata directories when balena pushing 2018-11-01 13:58:54 +00:00
logger.ts Support multicontainer local mode in resin push 2018-10-19 16:44:56 +02:00
messages.ts Rename everything from 'resin' to 'balena' 2018-10-29 22:29:02 +01:00
normalization.ts Rename everything from 'resin' to 'balena' 2018-10-29 22:29:02 +01:00
patterns.ts Rewrite the env commands in TypeScript 2018-10-29 22:29:02 +01:00
promote.ts Rename everything from 'resin' to 'balena' 2018-10-29 22:29:02 +01:00
qemu.coffee Fix the architecture string used when downloading qemu versions 2018-11-12 15:57:04 +00:00
remote-build.ts Rename everything from 'resin' to 'balena' 2018-10-29 22:29:02 +01:00
ssh.ts Update typed-error to fix some TS complaints 2018-08-09 11:21:45 +02:00
streams.ts Fix breakage in deploy command from recent TS conversion 2018-01-11 10:33:08 +01:00
sudo.ts Add join/leave commands to promote and move devices between platforms 2018-07-19 22:18:02 +03:00
tty.coffee Fix getting window size when there’s no TTY attached 2018-03-15 10:30:54 +02:00
update.ts Rename everything from 'resin' to 'balena' 2018-10-29 22:29:02 +01:00
validation.ts Rename everything from 'resin' to 'balena' 2018-10-29 22:29:02 +01:00