mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
cog to update usage.md
This commit is contained in:
parent
a857cbb7d1
commit
6f9e0ce37f
5 changed files with 42 additions and 26 deletions
|
@ -454,6 +454,7 @@ def get_parser(default_config_files, git_root):
|
||||||
|
|
||||||
def get_help():
|
def get_help():
|
||||||
os.environ["COLUMNS"] = "100"
|
os.environ["COLUMNS"] = "100"
|
||||||
|
sys.argv[0] = "aider"
|
||||||
parser = get_parser([], None)
|
parser = get_parser([], None)
|
||||||
return parser.format_help()
|
return parser.format_help()
|
||||||
|
|
||||||
|
|
|
@ -9,3 +9,4 @@ pandas
|
||||||
typer
|
typer
|
||||||
imgcat
|
imgcat
|
||||||
pre-commit
|
pre-commit
|
||||||
|
cogapp
|
||||||
|
|
|
@ -20,6 +20,8 @@ click==8.1.7
|
||||||
# via
|
# via
|
||||||
# pip-tools
|
# pip-tools
|
||||||
# typer
|
# typer
|
||||||
|
cogapp==3.4.1
|
||||||
|
# via -r dev-requirements.in
|
||||||
contourpy==1.2.1
|
contourpy==1.2.1
|
||||||
# via matplotlib
|
# via matplotlib
|
||||||
cycler==0.12.1
|
cycler==0.12.1
|
||||||
|
|
6
scripts/update-docs.sh
Executable file
6
scripts/update-docs.sh
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# exit when any command fails
|
||||||
|
set -e
|
||||||
|
|
||||||
|
cog -r website/docs/usage.md
|
|
@ -33,8 +33,14 @@ command line switches, environment variables or via a configuration file.
|
||||||
|
|
||||||
See `aider --help` below for details.
|
See `aider --help` below for details.
|
||||||
|
|
||||||
|
<!--[[[cog
|
||||||
|
from aider.args import get_help
|
||||||
|
cog.outl("```")
|
||||||
|
cog.out(get_help())
|
||||||
|
cog.outl("```")
|
||||||
|
]]]-->
|
||||||
```
|
```
|
||||||
usage: args.py [-h] [--openai-api-key OPENAI_API_KEY] [--anthropic-api-key ANTHROPIC_API_KEY]
|
usage: aider [-h] [--openai-api-key OPENAI_API_KEY] [--anthropic-api-key ANTHROPIC_API_KEY]
|
||||||
[--model MODEL] [--opus] [--sonnet] [--4] [--4o] [--4-turbo] [--35turbo]
|
[--model MODEL] [--opus] [--sonnet] [--4] [--4o] [--4-turbo] [--35turbo]
|
||||||
[--models MODEL] [--openai-api-base OPENAI_API_BASE]
|
[--models MODEL] [--openai-api-base OPENAI_API_BASE]
|
||||||
[--openai-api-type OPENAI_API_TYPE] [--openai-api-version OPENAI_API_VERSION]
|
[--openai-api-type OPENAI_API_TYPE] [--openai-api-version OPENAI_API_VERSION]
|
||||||
|
@ -51,12 +57,12 @@ usage: args.py [-h] [--openai-api-key OPENAI_API_KEY] [--anthropic-api-key ANTHR
|
||||||
[--assistant-output-color ASSISTANT_OUTPUT_COLOR] [--code-theme CODE_THEME]
|
[--assistant-output-color ASSISTANT_OUTPUT_COLOR] [--code-theme CODE_THEME]
|
||||||
[--show-diffs] [--git | --no-git] [--gitignore | --no-gitignore]
|
[--show-diffs] [--git | --no-git] [--gitignore | --no-gitignore]
|
||||||
[--aiderignore AIDERIGNORE] [--auto-commits | --no-auto-commits]
|
[--aiderignore AIDERIGNORE] [--auto-commits | --no-auto-commits]
|
||||||
[--dirty-commits | --no-dirty-commits] [--dry-run | --no-dry-run] [--commit]
|
[--dirty-commits | --no-dirty-commits] [--dry-run | --no-dry-run] [--commit] [--lint]
|
||||||
[--lint] [--lint-cmd LINT_CMD] [--auto-lint | --no-auto-lint] [--test-cmd TEST_CMD]
|
[--lint-cmd LINT_CMD] [--auto-lint | --no-auto-lint] [--test-cmd TEST_CMD]
|
||||||
[--auto-test | --no-auto-test] [--test] [--voice-language VOICE_LANGUAGE]
|
[--auto-test | --no-auto-test] [--test] [--voice-language VOICE_LANGUAGE] [--version]
|
||||||
[--version] [--check-update] [--skip-check-update] [--apply FILE] [--yes] [-v]
|
[--check-update] [--skip-check-update] [--apply FILE] [--yes] [-v] [--show-repo-map]
|
||||||
[--show-repo-map] [--show-prompts] [--message COMMAND]
|
[--show-prompts] [--message COMMAND] [--message-file MESSAGE_FILE]
|
||||||
[--message-file MESSAGE_FILE] [--encoding ENCODING] [-c CONFIG_FILE] [--gui]
|
[--encoding ENCODING] [-c CONFIG_FILE] [--gui]
|
||||||
[FILE ...]
|
[FILE ...]
|
||||||
|
|
||||||
aider is GPT powered coding in your terminal
|
aider is GPT powered coding in your terminal
|
||||||
|
@ -185,5 +191,5 @@ Args that start with '--' can also be set in a config file (specified via -c). T
|
||||||
uses YAML syntax and must represent a YAML 'mapping' (for details, see
|
uses YAML syntax and must represent a YAML 'mapping' (for details, see
|
||||||
http://learn.getgrav.org/advanced/yaml). In general, command-line values override environment
|
http://learn.getgrav.org/advanced/yaml). In general, command-line values override environment
|
||||||
variables which override config file values which override defaults.
|
variables which override config file values which override defaults.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
<!--[[[end]]]-->
|
Loading…
Add table
Add a link
Reference in a new issue