-
-
Notifications
You must be signed in to change notification settings - Fork 749
Open
Labels
state: needs triageWaiting to be triaged by a maintainer.Waiting to be triaged by a maintainer.
Description
Description
there are some case I have a command with many arguments and flags to be executed, for example:
tasks:
rclone:
- |
rclone copy '...' '...' \
--progress \
--order-by=size,asc \
--exclude='1/**' \
--exclude='2/**' \
--checkers=2 \
--transfers=1
it would be much easier to use a list as a single command to do this:
tasks:
rclone:
-
- rclone
- copy
- '...'
- '...'
- --progress
- --order-by-size,asc
- --exclude='1/**'
- --exclude='2/**'
- --checkers=2
- --transfers=1
or:
tasks:
rclone:
- executable: rclone
args:
- copy
- '...'
- '...'
- --progress
- --order-by-size,asc
- --exclude='1/**'
- --exclude='2/**'
- --checkers=2
- --transfers=1
in this case we only render str with go template but not shell syntex
Metadata
Metadata
Assignees
Labels
state: needs triageWaiting to be triaged by a maintainer.Waiting to be triaged by a maintainer.