mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-21 14:37:47 +00:00
parent
3a44782c38
commit
6e5e4bd8a6
@ -22,12 +22,12 @@ commandOptions = require('./command-options');
|
|||||||
exports.create = {
|
exports.create = {
|
||||||
signature: 'app create <name>',
|
signature: 'app create <name>',
|
||||||
description: 'create an application',
|
description: 'create an application',
|
||||||
help: 'Use this command to create a new resin.io application.\n\nYou can specify the application type with the `--type` option.\nOtherwise, an interactive dropdown will be shown for you to select from.\n\nYou can see a list of supported device types with\n\n $ resin devices supported\n\nExamples:\n\n $ resin app create MyApp\n $ resin app create MyApp --type raspberry-pi',
|
help: 'Use this command to create a new resin.io application.\n\nYou can specify the application device type with the `--type` option.\nOtherwise, an interactive dropdown will be shown for you to select from.\n\nYou can see a list of supported device types with\n\n $ resin devices supported\n\nExamples:\n\n $ resin app create MyApp\n $ resin app create MyApp --type raspberry-pi',
|
||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
signature: 'type',
|
signature: 'type',
|
||||||
parameter: 'type',
|
parameter: 'type',
|
||||||
description: 'application type',
|
description: 'application device type (Check available types with `resin devices supported`)',
|
||||||
alias: 't'
|
alias: 't'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@ -26,7 +26,7 @@ exports.read = {
|
|||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
signature: 'type',
|
signature: 'type',
|
||||||
description: 'device type',
|
description: 'device type (Check available types with `resin devices supported`)',
|
||||||
parameter: 'type',
|
parameter: 'type',
|
||||||
alias: 't',
|
alias: 't',
|
||||||
required: 'You have to specify a device type'
|
required: 'You have to specify a device type'
|
||||||
@ -63,7 +63,7 @@ exports.write = {
|
|||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
signature: 'type',
|
signature: 'type',
|
||||||
description: 'device type',
|
description: 'device type (Check available types with `resin devices supported`)',
|
||||||
parameter: 'type',
|
parameter: 'type',
|
||||||
alias: 't',
|
alias: 't',
|
||||||
required: 'You have to specify a device type'
|
required: 'You have to specify a device type'
|
||||||
@ -108,7 +108,7 @@ exports.inject = {
|
|||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
signature: 'type',
|
signature: 'type',
|
||||||
description: 'device type',
|
description: 'device type (Check available types with `resin devices supported`)',
|
||||||
parameter: 'type',
|
parameter: 'type',
|
||||||
alias: 't',
|
alias: 't',
|
||||||
required: 'You have to specify a device type'
|
required: 'You have to specify a device type'
|
||||||
@ -147,7 +147,7 @@ exports.reconfigure = {
|
|||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
signature: 'type',
|
signature: 'type',
|
||||||
description: 'device type',
|
description: 'device type (Check available types with `resin devices supported`)',
|
||||||
parameter: 'type',
|
parameter: 'type',
|
||||||
alias: 't',
|
alias: 't',
|
||||||
required: 'You have to specify a device type'
|
required: 'You have to specify a device type'
|
||||||
|
@ -56,7 +56,7 @@ resolveVersion = function(deviceType, version) {
|
|||||||
exports.download = {
|
exports.download = {
|
||||||
signature: 'os download <type>',
|
signature: 'os download <type>',
|
||||||
description: 'download an unconfigured os image',
|
description: 'download an unconfigured os image',
|
||||||
help: 'Use this command to download an unconfigured os image for a certain device type.\n\nIf version is not specified the newest stable (non-pre-release) version of OS\nis downloaded if available, or the newest version otherwise (if all existing\nversions for the given device type are pre-release).\n\nYou can pass `--version menu` to pick the OS version from the interactive menu\nof all available versions.\n\nExamples:\n\n $ resin os download raspberrypi3 -o ../foo/bar/raspberry-pi.img\n $ resin os download raspberrypi3 -o ../foo/bar/raspberry-pi.img --version 1.24.1\n $ resin os download raspberrypi3 -o ../foo/bar/raspberry-pi.img --version ^1.20.0\n $ resin os download raspberrypi3 -o ../foo/bar/raspberry-pi.img --version latest\n $ resin os download raspberrypi3 -o ../foo/bar/raspberry-pi.img --version default\n $ resin os download raspberrypi3 -o ../foo/bar/raspberry-pi.img --version menu',
|
help: 'Use this command to download an unconfigured os image for a certain device type.\nCheck available types with `resin devices supported`\n\nIf version is not specified the newest stable (non-pre-release) version of OS\nis downloaded if available, or the newest version otherwise (if all existing\nversions for the given device type are pre-release).\n\nYou can pass `--version menu` to pick the OS version from the interactive menu\nof all available versions.\n\nExamples:\n\n $ resin os download raspberrypi3 -o ../foo/bar/raspberry-pi.img\n $ resin os download raspberrypi3 -o ../foo/bar/raspberry-pi.img --version 1.24.1\n $ resin os download raspberrypi3 -o ../foo/bar/raspberry-pi.img --version ^1.20.0\n $ resin os download raspberrypi3 -o ../foo/bar/raspberry-pi.img --version latest\n $ resin os download raspberrypi3 -o ../foo/bar/raspberry-pi.img --version default\n $ resin os download raspberrypi3 -o ../foo/bar/raspberry-pi.img --version menu',
|
||||||
permission: 'user',
|
permission: 'user',
|
||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
@ -173,7 +173,7 @@ exports.initialize = {
|
|||||||
options: [
|
options: [
|
||||||
commandOptions.yes, {
|
commandOptions.yes, {
|
||||||
signature: 'type',
|
signature: 'type',
|
||||||
description: 'device type',
|
description: 'device type (Check available types with `resin devices supported`)',
|
||||||
parameter: 'type',
|
parameter: 'type',
|
||||||
alias: 't',
|
alias: 't',
|
||||||
required: 'You have to specify a device type'
|
required: 'You have to specify a device type'
|
||||||
|
@ -145,7 +145,7 @@ environment variable (in the same standard URL format).
|
|||||||
|
|
||||||
Use this command to create a new resin.io application.
|
Use this command to create a new resin.io application.
|
||||||
|
|
||||||
You can specify the application type with the `--type` option.
|
You can specify the application device type with the `--type` option.
|
||||||
Otherwise, an interactive dropdown will be shown for you to select from.
|
Otherwise, an interactive dropdown will be shown for you to select from.
|
||||||
|
|
||||||
You can see a list of supported device types with
|
You can see a list of supported device types with
|
||||||
@ -159,9 +159,9 @@ Examples:
|
|||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
#### --type, -t <type> (Check available types with [resin devices supported](#devices-supported))
|
#### --type, -t <type>
|
||||||
|
|
||||||
application type
|
application device type (Check available types with `resin devices supported`)
|
||||||
|
|
||||||
## apps
|
## apps
|
||||||
|
|
||||||
@ -812,6 +812,7 @@ device uuid
|
|||||||
## os download <type>
|
## os download <type>
|
||||||
|
|
||||||
Use this command to download an unconfigured os image for a certain device type.
|
Use this command to download an unconfigured os image for a certain device type.
|
||||||
|
Check available types with `resin devices supported`
|
||||||
|
|
||||||
If version is not specified the newest stable (non-pre-release) version of OS
|
If version is not specified the newest stable (non-pre-release) version of OS
|
||||||
is downloaded if available, or the newest version otherwise (if all existing
|
is downloaded if available, or the newest version otherwise (if all existing
|
||||||
@ -874,9 +875,9 @@ Examples:
|
|||||||
|
|
||||||
confirm non interactively
|
confirm non interactively
|
||||||
|
|
||||||
#### --type, -t <type> (Check available types with [resin devices supported](#devices-supported))
|
#### --type, -t <type>
|
||||||
|
|
||||||
device type
|
device type (Check available types with `resin devices supported`)
|
||||||
|
|
||||||
#### --drive, -d <drive>
|
#### --drive, -d <drive>
|
||||||
|
|
||||||
@ -895,9 +896,9 @@ Examples:
|
|||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
#### --type, -t <type> (Check available types with [resin devices supported](#devices-supported))
|
#### --type, -t <type>
|
||||||
|
|
||||||
device type
|
device type (Check available types with `resin devices supported`)
|
||||||
|
|
||||||
#### --drive, -d <drive>
|
#### --drive, -d <drive>
|
||||||
|
|
||||||
@ -915,9 +916,9 @@ Examples:
|
|||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
#### --type, -t <type> (Check available types with [resin devices supported](#devices-supported))
|
#### --type, -t <type>
|
||||||
|
|
||||||
device type
|
device type (Check available types with `resin devices supported`)
|
||||||
|
|
||||||
#### --drive, -d <drive>
|
#### --drive, -d <drive>
|
||||||
|
|
||||||
@ -934,9 +935,9 @@ Examples:
|
|||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
#### --type, -t <type> (Check available types with [resin devices supported](#devices-supported))
|
#### --type, -t <type>
|
||||||
|
|
||||||
device type
|
device type (Check available types with `resin devices supported`)
|
||||||
|
|
||||||
#### --drive, -d <drive>
|
#### --drive, -d <drive>
|
||||||
|
|
||||||
@ -954,9 +955,9 @@ Examples:
|
|||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
#### --type, -t <type> (Check available types with [resin devices supported](#devices-supported))
|
#### --type, -t <type>
|
||||||
|
|
||||||
device type
|
device type (Check available types with `resin devices supported`)
|
||||||
|
|
||||||
#### --drive, -d <drive>
|
#### --drive, -d <drive>
|
||||||
|
|
||||||
@ -1335,6 +1336,10 @@ Docker host TLS key file
|
|||||||
|
|
||||||
The alias to the generated image
|
The alias to the generated image
|
||||||
|
|
||||||
|
#### --buildArg, -B <arg>
|
||||||
|
|
||||||
|
Set a build-time variable (eg. "-B 'ARG=value'"). Can be specified multiple times.
|
||||||
|
|
||||||
#### --nocache
|
#### --nocache
|
||||||
|
|
||||||
Don't use docker layer caching when building
|
Don't use docker layer caching when building
|
||||||
@ -1362,6 +1367,10 @@ Build image then deploy
|
|||||||
|
|
||||||
The source directory to use when building the image
|
The source directory to use when building the image
|
||||||
|
|
||||||
|
#### --nologupload
|
||||||
|
|
||||||
|
Don't upload build logs to the dashboard with image (if building)
|
||||||
|
|
||||||
#### --docker, -P <docker>
|
#### --docker, -P <docker>
|
||||||
|
|
||||||
Path to a local docker socket
|
Path to a local docker socket
|
||||||
@ -1390,6 +1399,11 @@ Docker host TLS key file
|
|||||||
|
|
||||||
The alias to the generated image
|
The alias to the generated image
|
||||||
|
|
||||||
|
#### --buildArg, -B <arg>
|
||||||
|
|
||||||
|
Set a build-time variable (eg. "-B 'ARG=value'"). Can be specified multiple times.
|
||||||
|
|
||||||
#### --nocache
|
#### --nocache
|
||||||
|
|
||||||
Don't use docker layer caching when building
|
Don't use docker layer caching when building
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ exports.create =
|
|||||||
help: '''
|
help: '''
|
||||||
Use this command to create a new resin.io application.
|
Use this command to create a new resin.io application.
|
||||||
|
|
||||||
You can specify the application type with the `--type` option.
|
You can specify the application device type with the `--type` option.
|
||||||
Otherwise, an interactive dropdown will be shown for you to select from.
|
Otherwise, an interactive dropdown will be shown for you to select from.
|
||||||
|
|
||||||
You can see a list of supported device types with
|
You can see a list of supported device types with
|
||||||
@ -38,7 +38,7 @@ exports.create =
|
|||||||
{
|
{
|
||||||
signature: 'type'
|
signature: 'type'
|
||||||
parameter: 'type'
|
parameter: 'type'
|
||||||
description: 'application type'
|
description: 'application device type (Check available types with `resin devices supported`)'
|
||||||
alias: 't'
|
alias: 't'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -30,7 +30,7 @@ exports.read =
|
|||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
signature: 'type'
|
signature: 'type'
|
||||||
description: 'device type'
|
description: 'device type (Check available types with `resin devices supported`)'
|
||||||
parameter: 'type'
|
parameter: 'type'
|
||||||
alias: 't'
|
alias: 't'
|
||||||
required: 'You have to specify a device type'
|
required: 'You have to specify a device type'
|
||||||
@ -75,7 +75,7 @@ exports.write =
|
|||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
signature: 'type'
|
signature: 'type'
|
||||||
description: 'device type'
|
description: 'device type (Check available types with `resin devices supported`)'
|
||||||
parameter: 'type'
|
parameter: 'type'
|
||||||
alias: 't'
|
alias: 't'
|
||||||
required: 'You have to specify a device type'
|
required: 'You have to specify a device type'
|
||||||
@ -126,7 +126,7 @@ exports.inject =
|
|||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
signature: 'type'
|
signature: 'type'
|
||||||
description: 'device type'
|
description: 'device type (Check available types with `resin devices supported`)'
|
||||||
parameter: 'type'
|
parameter: 'type'
|
||||||
alias: 't'
|
alias: 't'
|
||||||
required: 'You have to specify a device type'
|
required: 'You have to specify a device type'
|
||||||
@ -172,7 +172,7 @@ exports.reconfigure =
|
|||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
signature: 'type'
|
signature: 'type'
|
||||||
description: 'device type'
|
description: 'device type (Check available types with `resin devices supported`)'
|
||||||
parameter: 'type'
|
parameter: 'type'
|
||||||
alias: 't'
|
alias: 't'
|
||||||
required: 'You have to specify a device type'
|
required: 'You have to specify a device type'
|
||||||
|
@ -46,6 +46,7 @@ exports.download =
|
|||||||
description: 'download an unconfigured os image'
|
description: 'download an unconfigured os image'
|
||||||
help: '''
|
help: '''
|
||||||
Use this command to download an unconfigured os image for a certain device type.
|
Use this command to download an unconfigured os image for a certain device type.
|
||||||
|
Check available types with `resin devices supported`
|
||||||
|
|
||||||
If version is not specified the newest stable (non-pre-release) version of OS
|
If version is not specified the newest stable (non-pre-release) version of OS
|
||||||
is downloaded if available, or the newest version otherwise (if all existing
|
is downloaded if available, or the newest version otherwise (if all existing
|
||||||
@ -198,7 +199,7 @@ exports.initialize =
|
|||||||
commandOptions.yes
|
commandOptions.yes
|
||||||
{
|
{
|
||||||
signature: 'type'
|
signature: 'type'
|
||||||
description: 'device type'
|
description: 'device type (Check available types with `resin devices supported`)'
|
||||||
parameter: 'type'
|
parameter: 'type'
|
||||||
alias: 't'
|
alias: 't'
|
||||||
required: 'You have to specify a device type'
|
required: 'You have to specify a device type'
|
||||||
|
Loading…
Reference in New Issue
Block a user