mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-02-21 01:42:26 +00:00
resin sync: add --after option
This commit is contained in:
parent
42d0b52df7
commit
6b00bbc73a
@ -58,6 +58,7 @@ module.exports =
|
||||
uuid: 7cf02a6
|
||||
destination: '/usr/src/app'
|
||||
before: 'echo Hello'
|
||||
after: 'echo Done'
|
||||
ignore:
|
||||
- .git
|
||||
- node_modules/
|
||||
@ -71,7 +72,7 @@ module.exports =
|
||||
Examples:
|
||||
|
||||
$ resin sync 7cf02a6 --source '.' --destination '/usr/src/app'
|
||||
$ resin sync 7cf02a6 -s '/home/user/myResinProject' -d '/usr/src/app' --before 'echo Hello'
|
||||
$ resin sync 7cf02a6 -s '/home/user/myResinProject' -d '/usr/src/app' --before 'echo Hello' --after 'echo Done'
|
||||
$ resin sync --ignore 'lib/'
|
||||
$ resin sync --verbose false
|
||||
$ resin sync
|
||||
@ -102,6 +103,11 @@ module.exports =
|
||||
parameter: 'command'
|
||||
description: 'execute a command before syncing'
|
||||
alias: 'b'
|
||||
,
|
||||
signature: 'after'
|
||||
parameter: 'command'
|
||||
description: 'execute a command after syncing'
|
||||
alias: 'a'
|
||||
,
|
||||
signature: 'port'
|
||||
parameter: 'port'
|
||||
|
Loading…
x
Reference in New Issue
Block a user