Remove resin sync 'exec after rsync' feature as it's not supported by

ssh gateway
This commit is contained in:
Kostas Lekkas 2016-04-22 13:41:54 +03:00
parent 1c66efb4fa
commit b5ec49dda1
3 changed files with 1 additions and 17 deletions

View File

@ -19,7 +19,7 @@ limitations under the License.
module.exports = {
signature: 'sync <uuid>',
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',
primary: true,
options: [
@ -38,11 +38,6 @@ limitations under the License.
parameter: 'command',
description: 'execute a command before syncing',
alias: 'b'
}, {
signature: 'exec',
parameter: 'command',
description: 'execute a command after syncing (on the device)',
alias: 'x'
}, {
signature: 'progress',
boolean: true,

View File

@ -588,7 +588,6 @@ by using the same option names as keys. For example:
$ cat $PWD/resin-sync.yml
source: src/
before: 'echo Hello'
exec: 'python main.py'
ignore:
- .git
- node_modules/
@ -616,10 +615,6 @@ comma delimited paths to ignore when syncing
execute a command before syncing
#### --exec, -x &#60;command&#62;
execute a command after syncing (on the device)
#### --progress, -p
show progress

View File

@ -26,7 +26,6 @@ module.exports =
$ cat $PWD/resin-sync.yml
source: src/
before: 'echo Hello'
exec: 'python main.py'
ignore:
- .git
- node_modules/
@ -57,11 +56,6 @@ module.exports =
parameter: 'command'
description: 'execute a command before syncing'
alias: 'b'
,
signature: 'exec'
parameter: 'command'
description: 'execute a command after syncing (on the device)'
alias: 'x'
,
signature: 'progress'
boolean: true