Compare commits
3 Commits
04db87414f
...
1a4e56391c
| Author | SHA1 | Date | |
|---|---|---|---|
| 1a4e56391c | |||
| 05ce5b07ab | |||
| 70d9bb02d7 |
@ -35,16 +35,16 @@ def create_parser() -> argparse.ArgumentParser:
|
||||
# a parent parser for all commands that support tag selection
|
||||
tag_parser = argparse.ArgumentParser(add_help=False)
|
||||
tag_arg = tag_parser.add_argument('-t', '--or-tags', nargs='+',
|
||||
help='List of tags (one must match)', metavar='OTAGS')
|
||||
help='List of tag names (one must match)', metavar='OTAGS')
|
||||
tag_arg.completer = tags_completer # type: ignore
|
||||
atag_arg = tag_parser.add_argument('-k', '--and-tags', nargs='+',
|
||||
help='List of tags (all must match)', metavar='ATAGS')
|
||||
help='List of tag names (all must match)', metavar='ATAGS')
|
||||
atag_arg.completer = tags_completer # type: ignore
|
||||
etag_arg = tag_parser.add_argument('-x', '--exclude-tags', nargs='+',
|
||||
help='List of tags to exclude', metavar='XTAGS')
|
||||
help='List of tag names to exclude', metavar='XTAGS')
|
||||
etag_arg.completer = tags_completer # type: ignore
|
||||
otag_arg = tag_parser.add_argument('-o', '--output-tags', nargs='+',
|
||||
help='List of output tags (default: use input tags)', metavar='OUTTAGS')
|
||||
help='List of output tag names, default is input', metavar='OUTTAGS')
|
||||
otag_arg.completer = tags_completer # type: ignore
|
||||
|
||||
# a parent parser for all commands that support AI configuration
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user