Skip to content

Commit a45edfa

Browse files
committed
Update command help.
Run bin/add_help_to_readme.py and git diff first in release command.
1 parent 5d71fbb commit a45edfa

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,16 @@ Output of `charla -h` with information on all available command line options.
9696

9797
<!-- START: DO NOT EDIT -->
9898
```text
99-
usage: charla [-h] [--model MODEL] [--chats-path CHATS_PATH] [--prompt-history PROMPT_HISTORY]
100-
[--provider PROVIDER] [--message-limit MESSAGE_LIMIT] [--multiline] [--system-prompt SYSTEM_PROMPT]
101-
[--think {true,false,low,medium,high}] [--version]
102-
{settings} ...
99+
usage: charla [-h] [--model MODEL] [--chats-path CHATS_PATH] [--continue-chat CONTINUE_CHAT]
100+
[--prompt-history PROMPT_HISTORY] [--provider PROVIDER] [--message-limit MESSAGE_LIMIT]
101+
[--multiline] [--system-prompt SYSTEM_PROMPT] [--think {true,false,low,medium,high}] [--version]
102+
{convert,settings} ...
103103
104104
Chat with language models.
105105
106106
positional arguments:
107-
{settings} Sub Commands
107+
{convert,settings} Sub Commands
108+
convert Convert chat file to markdown.
108109
settings Show current settings.
109110
110111
options:
@@ -113,6 +114,8 @@ options:
113114
Name of language model to chat with.
114115
--chats-path CHATS_PATH
115116
Directory to store chats.
117+
--continue-chat CONTINUE_CHAT, -c CONTINUE_CHAT
118+
File that contains chat to continue.
116119
--prompt-history PROMPT_HISTORY
117120
File to store prompt history.
118121
--provider PROVIDER Name of the provider to use.

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ Source = "https://github.com/yaph/charla"
5454
path = "charla/__about__.py"
5555

5656
[tool.hatch.envs.charla-dev]
57+
builder = true
5758
extra-dependencies = ["flake8", "ipdb", "mypy>=1.0.0", "pytest"]
5859

5960
[tool.hatch.envs.charla-dev.env-vars]
@@ -67,6 +68,8 @@ qa = [
6768
"hatch fmt"
6869
]
6970
release = [
71+
"bin/add_help_to_readme.py",
72+
"git diff",
7073
"hatch run qa",
7174
"hatch build --clean",
7275
"hatch publish",

0 commit comments

Comments
 (0)