summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
AgeCommit message (Collapse)AuthorLines
2024-03-27feat: `save_session` config item can be null (#380)sigoden-1/+1
2024-03-27feat: add `save_session` config item and `--save-session` cli option (#370)Patrick Jackson-1/+4
* fix: sessions should save when exiting * feat: improve save sessions * feat: do not allow saving the temp session name * feat: allow creating a session without interactive use * feat: add `save_session` config and `--save-session` option --------- Co-authored-by: sigoden <sigoden@gmail.com>
2024-03-02feat: add `-c/--code` to generate only code (#327)sigoden-0/+3
2024-02-23feat: support `-e/--execute` to execute shell command (#318)sigoden-0/+4
2023-11-27feat: support vision (#249)sigoden-0/+3
* feat: support vision * clippy * implement vision * resolve data url to local file * add model openai:gpt-4-vision-preview * use newline to concate embeded text files * set max_tokens for gpt-4-vision-preview
2023-10-31chore: move split_line_* from repl/cmd.rs to utils/ (#190)sigoden-1/+1
2023-10-30chore: update readme and cli helpsigoden-19/+19
2023-10-30feat: deprecate .clear command (#180)sigoden-6/+6
2023-10-30feat: deprecate prompt, remove `--prompt` and `.prompt` (#176)sigoden-3/+0
2023-10-30chore: remove unnecessary clippy macrossigoden-1/+0
2023-10-30feat: support textwrap (#171)sigoden-1/+4
* feat: support textwrap * improve cmd_render_stream * done cmd_render_stream * add `-w` alias to `--wrap` * done repl_render_stream * add `config.wrap_code` * remove cached config.wrap_width * fix unxpected duplicate lines on kitty * refactor markdown render * improve render * fix test
2023-10-29feat: add `--light-theme` option (#169)sigoden-19/+22
2023-10-28feat: enhance session/conversation (#162)sigoden-0/+6
* feat: enhance session/conversation * updates * updates * cut version v0.9.0-rc2 * add .session name completion
2023-07-10fix: minor code cleanup and pedantic lints (#134)Anthony Rubick-0/+1
2023-05-04chore: trivial updatessigoden-1/+1
2023-04-26chore: fix typosigoden-1/+1
2023-03-20feat: add `--dry-run` (#83)sigoden-0/+3
2023-03-20feat: add `--info` (#79)sigoden-0/+3
2023-03-16feat: support multiple models (#71)sigoden-0/+6
2023-03-11feat: add support for NO_COLOR (#67)sigoden-1/+1
2023-03-11feat: provide `--prompt` for adding a prompt from cli (#62)sigoden-0/+3
2023-03-07feat: command mode supports stream out (#31)sigoden-1/+4
* feat: command mode supports stream out * update cli
2023-03-06chore: release v0.4.0sigoden-1/+1
2023-03-06chore: optimize cli helpsigoden-4/+4
2023-03-06feat: add `--no-highlight` option (#24)sigoden-1/+4
2023-03-03refactor: split into separate modssigoden-0/+29