mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-01-18 18:56:25 +00:00
actions/config: Fix examples to include --version as required
Connects-to: #1007 Change-type: patch Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
This commit is contained in:
parent
759c2d4a6f
commit
5abd240d50
@ -1138,13 +1138,13 @@ that will be asked for the relevant device type.
|
|||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
|
|
||||||
$ balena config generate --device 7cf02a6
|
$ balena config generate --device 7cf02a6 --version 2.12.7
|
||||||
$ balena config generate --device 7cf02a6 --generate-device-api-key
|
$ balena config generate --device 7cf02a6 --version 2.12.7 --generate-device-api-key
|
||||||
$ balena config generate --device 7cf02a6 --device-api-key <existingDeviceKey>
|
$ balena config generate --device 7cf02a6 --version 2.12.7 --device-api-key <existingDeviceKey>
|
||||||
$ balena config generate --device 7cf02a6 --output config.json
|
$ balena config generate --device 7cf02a6 --version 2.12.7 --output config.json
|
||||||
$ balena config generate --app MyApp
|
$ balena config generate --app MyApp --version 2.12.7
|
||||||
$ balena config generate --app MyApp --output config.json
|
$ balena config generate --app MyApp --version 2.12.7 --output config.json
|
||||||
$ balena config generate --app MyApp --network wifi --wifiSsid mySsid --wifiKey abcdefgh --appUpdatePollInterval 1
|
$ balena config generate --app MyApp --version 2.12.7 --network wifi --wifiSsid mySsid --wifiKey abcdefgh --appUpdatePollInterval 1
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
|
@ -231,17 +231,17 @@ exports.generate =
|
|||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
|
|
||||||
$ balena config generate --device 7cf02a6
|
$ balena config generate --device 7cf02a6 --version 2.12.7
|
||||||
$ balena config generate --device 7cf02a6 --generate-device-api-key
|
$ balena config generate --device 7cf02a6 --version 2.12.7 --generate-device-api-key
|
||||||
$ balena config generate --device 7cf02a6 --device-api-key <existingDeviceKey>
|
$ balena config generate --device 7cf02a6 --version 2.12.7 --device-api-key <existingDeviceKey>
|
||||||
$ balena config generate --device 7cf02a6 --output config.json
|
$ balena config generate --device 7cf02a6 --version 2.12.7 --output config.json
|
||||||
$ balena config generate --app MyApp
|
$ balena config generate --app MyApp --version 2.12.7
|
||||||
$ balena config generate --app MyApp --output config.json
|
$ balena config generate --app MyApp --version 2.12.7 --output config.json
|
||||||
$ balena config generate --app MyApp \
|
$ balena config generate --app MyApp --version 2.12.7 \
|
||||||
--network wifi --wifiSsid mySsid --wifiKey abcdefgh --appUpdatePollInterval 1
|
--network wifi --wifiSsid mySsid --wifiKey abcdefgh --appUpdatePollInterval 1
|
||||||
'''
|
'''
|
||||||
options: [
|
options: [
|
||||||
commandOptions.optionalOsVersion
|
commandOptions.osVersion
|
||||||
commandOptions.optionalApplication
|
commandOptions.optionalApplication
|
||||||
commandOptions.optionalDevice
|
commandOptions.optionalDevice
|
||||||
commandOptions.optionalDeviceApiKey
|
commandOptions.optionalDeviceApiKey
|
||||||
|
Loading…
Reference in New Issue
Block a user