doc: update README with latest usage & repo

This commit is contained in:
Glenn Y. Rolland 2023-12-29 15:58:18 +01:00
parent 206563df03
commit b8e4028d3f

View file

@ -24,7 +24,7 @@ the nature of interactions with ChatGPT.
To get started with Code-Preloader, ensure that you have Crystal language installed on your system. Follow these steps to install: To get started with Code-Preloader, ensure that you have Crystal language installed on your system. Follow these steps to install:
```bash ```bash
git clone https://github.com/your-repository/code-preloader.git git clone https://code.apps.glenux.net/glenux/chatgpt-preloader
cd code-preloader cd code-preloader
shards install shards install
shards build shards build
@ -36,16 +36,17 @@ Run Code-Preloader with the following command-line options:
``` ```
Usage: code-preloader [options] ROOT_DIR Usage: code-preloader [options] ROOT_DIR
-c CONFIG_FILE, --config=CONFIG_FILE
Options: Load parameters from CONFIG_FILE
-c, --config=CONFIG_FILE Load parameters from CONFIG_FILE (not implemented yet) -i IGNORE_PATH, --ignore=IGNORE_PATH
-i, --ignore=IGNORE_FILE Ignore file or directory path Ignore file or directory
-o, --output=OUTPUT_FILE Write output to OUTPUT_FILE (default to stdout) -o OUTPUT_FILE, --output=OUTPUT_FILE
--header-prompt=HEADER_PROMPT_FILE Load header prompt from PROMPT_FILE Write output to OUTPUT_FILE
--footer-prompt=FOOTER_PROMPT_FILE Load footer prompt from PROMPT_FILE -H HEADER_PROMPT_FILE, --header-prompt=HEADER_PROMPT_FILE
--version Show version Load header prompt from HEADER_PROMPT_FILE
-v, --verbose Enable verbose mode -F FOOTER_PROMPT_FILE, --footer-prompt=FOOTER_PROMPT_FILE
-h, --help Show this help Load footer prompt from FOOTER_PROMPT_FILE
-h, --help Show this help
``` ```
### Examples ### Examples