1
0
Fork 0
mirror of synced 2024-11-22 08:15:34 -05:00

Add use case to README

This commit is contained in:
The Aviator 2015-06-19 11:10:05 -04:00
parent 9c2102ae9d
commit eb0328cb78

View file

@ -183,8 +183,9 @@ shell command and the second is an optional human-readable description.
Shell commands support an extended syntax as well, which provides more Shell commands support an extended syntax as well, which provides more
fine-grained control. A command can be specified as a dictionary that contains fine-grained control. A command can be specified as a dictionary that contains
the command to be run, a description, and whether `stdin`, `stdout`, and the command to be run, a description, and whether `stdin`, `stdout`, and
`stderr` are enabled. In this syntax, all keys are optional except for the `stderr` are enabled. Another useful key is `confirm` which, if true, prompts
command itself. the user at install time, allowing them to not run that script that time.
In this syntax, all keys are optional except for the command itself.
#### Example #### Example
@ -199,6 +200,9 @@ command itself.
- -
command: read fail command: read fail
stderr: true stderr: true
-
command: rm -rf ~/.config
confirm: true
``` ```
### Clean ### Clean