Compare commits
2 Commits
f2852c1448
...
d2a3ab0adb
| Author | SHA1 | Date | |
|---|---|---|---|
| d2a3ab0adb | |||
| fbc48d20b2 |
@ -65,6 +65,8 @@ cmm question [-t OTAGS]... [-k ATAGS]... [-x XTAGS]... [-o OUTTAGS]... [-A AI_ID
|
|||||||
* `-O, --overwrite`: Overwrite existing messages when repeating them
|
* `-O, --overwrite`: Overwrite existing messages when repeating them
|
||||||
* `-s, --source-text FILE`: Add content of a file to the query
|
* `-s, --source-text FILE`: Add content of a file to the query
|
||||||
* `-S, --source-code FILE`: Add source code file content to the chat history
|
* `-S, --source-code FILE`: Add source code file content to the chat history
|
||||||
|
* `-l, --location {disk,cache,db,all}`: Use given location when building the chat history (default: 'db')
|
||||||
|
* `-g, --glob GLOB`: Filter message files using the given glob pattern
|
||||||
|
|
||||||
#### Hist
|
#### Hist
|
||||||
|
|
||||||
|
|||||||
@ -96,8 +96,8 @@ def create_parser() -> argparse.ArgumentParser:
|
|||||||
hist_cmd_parser.add_argument('-l', '--location',
|
hist_cmd_parser.add_argument('-l', '--location',
|
||||||
choices=[x.value for x in msg_location],
|
choices=[x.value for x in msg_location],
|
||||||
default='db',
|
default='db',
|
||||||
help='Select message location, default is \'db\'')
|
help='Use given location when building the chat history (default: \'db\')')
|
||||||
hist_cmd_parser.add_argument('-g', '--glob', help='Glob for message file names')
|
hist_cmd_parser.add_argument('-g', '--glob', help='Filter message files using the given glob pattern')
|
||||||
|
|
||||||
# 'tags' command parser
|
# 'tags' command parser
|
||||||
tags_cmd_parser = cmdparser.add_parser('tags',
|
tags_cmd_parser = cmdparser.add_parser('tags',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user