mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-02 09:40:42 +00:00
26 lines
1.0 KiB
Markdown
26 lines
1.0 KiB
Markdown
|
# Developing the CLI
|
||
|
## Documentation
|
||
|
Documentation can be found in three places:
|
||
|
- `app.py` docstrings & comments
|
||
|
- a Readme: `gpt4all-bindings/cli/README.md`
|
||
|
- the actual CLI documentation: `gpt4all-bindings/python/docs/gpt4all_cli.md`
|
||
|
|
||
|
The _docstrings_ are meant for programmatic use. Since the CLI is primarily geared towards users and
|
||
|
not to build on top, they're kept terse.
|
||
|
|
||
|
The _Readme_ is mostly meant for users and includes:
|
||
|
- a link to the _CLI documentation_ (on the [website])
|
||
|
- a Quickstart section with some guidance on how to get started with a sane setup
|
||
|
|
||
|
The _CLI documentation_ and other documentation are located in the above mentioned `docs/` folder.
|
||
|
They're in Markdown format and built for the [website]. Of the three, they should be the most
|
||
|
detailed.
|
||
|
|
||
|
[website]: https://docs.gpt4all.io/gpt4all_cli.html
|
||
|
|
||
|
|
||
|
## Versioning
|
||
|
The version number should now follow the `gpt4all` PyPI package, so compatibility is more clear.
|
||
|
|
||
|
The one place to change it is the `namedtuple` called `VERSION_INFO`.
|