You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
470 B
14 lines
470 B
# Itemized Commands
|
|
|
|
It is sometimes useful to create a single command entry that does the same thing with different input. Script Tease facilitates this with the "itemized" command.
|
|
|
|
```ini
|
|
[install common utilities]
|
|
install: $item
|
|
items: curl, git, lftp, wget
|
|
```
|
|
|
|
In the example above, statements will be generated to install each of the packages named in `items`.
|
|
|
|
!!! note
|
|
Content commands (`explain` and `screenshot`) and Template commands cannot be itemized.
|
|
|