mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-06-20 00:33:46 +00:00
Remove resin sync 'exec after rsync' feature as it's not supported by
ssh gateway
This commit is contained in:
@ -19,7 +19,7 @@ limitations under the License.
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
signature: 'sync <uuid>',
|
signature: 'sync <uuid>',
|
||||||
description: '(beta) sync your changes with a device',
|
description: '(beta) sync your changes with a device',
|
||||||
help: 'Use this command to sync your local changes to a certain device on the fly.\n\nYou can save all the options mentioned below in a `resin-sync.yml` file,\nby using the same option names as keys. For example:\n\n $ cat $PWD/resin-sync.yml\n source: src/\n before: \'echo Hello\'\n exec: \'python main.py\'\n ignore:\n - .git\n - node_modules/\n progress: true\n\nNotice that explicitly passed command options override the ones set in the configuration file.\n\nExamples:\n\n $ resin sync 7cf02a6\n $ resin sync 7cf02a6 --port 8080\n $ resin sync 7cf02a6 --ignore foo,bar',
|
help: 'Use this command to sync your local changes to a certain device on the fly.\n\nYou can save all the options mentioned below in a `resin-sync.yml` file,\nby using the same option names as keys. For example:\n\n $ cat $PWD/resin-sync.yml\n source: src/\n before: \'echo Hello\'\n ignore:\n - .git\n - node_modules/\n progress: true\n\nNotice that explicitly passed command options override the ones set in the configuration file.\n\nExamples:\n\n $ resin sync 7cf02a6\n $ resin sync 7cf02a6 --port 8080\n $ resin sync 7cf02a6 --ignore foo,bar',
|
||||||
permission: 'user',
|
permission: 'user',
|
||||||
primary: true,
|
primary: true,
|
||||||
options: [
|
options: [
|
||||||
@ -38,11 +38,6 @@ limitations under the License.
|
|||||||
parameter: 'command',
|
parameter: 'command',
|
||||||
description: 'execute a command before syncing',
|
description: 'execute a command before syncing',
|
||||||
alias: 'b'
|
alias: 'b'
|
||||||
}, {
|
|
||||||
signature: 'exec',
|
|
||||||
parameter: 'command',
|
|
||||||
description: 'execute a command after syncing (on the device)',
|
|
||||||
alias: 'x'
|
|
||||||
}, {
|
}, {
|
||||||
signature: 'progress',
|
signature: 'progress',
|
||||||
boolean: true,
|
boolean: true,
|
||||||
|
@ -588,7 +588,6 @@ by using the same option names as keys. For example:
|
|||||||
$ cat $PWD/resin-sync.yml
|
$ cat $PWD/resin-sync.yml
|
||||||
source: src/
|
source: src/
|
||||||
before: 'echo Hello'
|
before: 'echo Hello'
|
||||||
exec: 'python main.py'
|
|
||||||
ignore:
|
ignore:
|
||||||
- .git
|
- .git
|
||||||
- node_modules/
|
- node_modules/
|
||||||
@ -616,10 +615,6 @@ comma delimited paths to ignore when syncing
|
|||||||
|
|
||||||
execute a command before syncing
|
execute a command before syncing
|
||||||
|
|
||||||
#### --exec, -x <command>
|
|
||||||
|
|
||||||
execute a command after syncing (on the device)
|
|
||||||
|
|
||||||
#### --progress, -p
|
#### --progress, -p
|
||||||
|
|
||||||
show progress
|
show progress
|
||||||
|
@ -26,7 +26,6 @@ module.exports =
|
|||||||
$ cat $PWD/resin-sync.yml
|
$ cat $PWD/resin-sync.yml
|
||||||
source: src/
|
source: src/
|
||||||
before: 'echo Hello'
|
before: 'echo Hello'
|
||||||
exec: 'python main.py'
|
|
||||||
ignore:
|
ignore:
|
||||||
- .git
|
- .git
|
||||||
- node_modules/
|
- node_modules/
|
||||||
@ -57,11 +56,6 @@ module.exports =
|
|||||||
parameter: 'command'
|
parameter: 'command'
|
||||||
description: 'execute a command before syncing'
|
description: 'execute a command before syncing'
|
||||||
alias: 'b'
|
alias: 'b'
|
||||||
,
|
|
||||||
signature: 'exec'
|
|
||||||
parameter: 'command'
|
|
||||||
description: 'execute a command after syncing (on the device)'
|
|
||||||
alias: 'x'
|
|
||||||
,
|
,
|
||||||
signature: 'progress'
|
signature: 'progress'
|
||||||
boolean: true
|
boolean: true
|
||||||
|
Reference in New Issue
Block a user