diff options
| -rw-r--r-- | patternutils/commands/targs.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/patternutils/commands/targs.py b/patternutils/commands/targs.py index 317d5e1..947061f 100644 --- a/patternutils/commands/targs.py +++ b/patternutils/commands/targs.py @@ -79,6 +79,12 @@ def targs( editor: bool, verbose: bool, ) -> None: + """Execute commands based on a template string. + + It reads in a JSON list containing objects, or a stream of objects (if the + --stream option is used), which are then supplied to the templating engine, + to generate the command to run. + """ if stream: data = map(utils.json_loads, read_from) # type: ignore |
