-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: improve examples on several command line arguments. #310
base: main
Are you sure you want to change the base?
Conversation
- `--format-as`: Specify the format for the output (used with `--format`). | ||
- `-P`, `--prompt`: Prompt should include stdin and args. | ||
- `-p`, `--prompt-args`: Prompt should only include args. | ||
- `--format-as`: Specify the format for the output (used with `--format`, e.g. `mods -f --format-as json 'your prompt here'`). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the other flags don't have example usages in their help, i think this should be somewhere else
- `--format-as`: Specify the format for the output (used with `--format`, e.g. `mods -f --format-as json 'your prompt here'`). | |
- `--format-as`: Specify the format for the output (used with `--format`). |
- `-P`, `--prompt`: Prompt should include stdin and args. | ||
- `-p`, `--prompt-args`: Prompt should only include args. | ||
- `--format-as`: Specify the format for the output (used with `--format`, e.g. `mods -f --format-as json 'your prompt here'`). | ||
- `-P=n`, `--prompt=n`: show the output with prompts from stdin, and only include the first `n` lines of prompt. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- `-P=n`, `--prompt=n`: show the output with prompts from stdin, and only include the first `n` lines of prompt. | |
- `-P`, `--prompt`: show the output with the prompt from STDIN, and only include the first `n` lines of the prompt. |
@@ -40,7 +40,7 @@ var help = map[string]string{ | |||
"role": "System role to use.", | |||
"roles": "List of predefined system messages that can be used as roles.", | |||
"list-roles": "List the roles defined in your configuration file", | |||
"prompt": "Include the prompt from the arguments and stdin, truncate stdin to specified number of lines.", | |||
"prompt": "Include the top n lines of prompt from the stdin in the response, where n is the specified number.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"prompt": "Include the top n lines of prompt from the stdin in the response, where n is the specified number.", | |
"prompt": "Include the first n lines of prompt from the STDIN in the response", |
No description provided.