Release 1.2.0 #456
Closed
TheR1D
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
--interaction
that works with--shell
option, e.g.sgpt --shell --no-interaction
will output suggested command to stdout. This is usefull when you want to redirect output to somewhere else. For instancesgpt -s "say hi" | pbcopy
.--shell
not switching to interactive input mode.--no-interaction
to generate shell commands.--install-integration
logic, will not download sh script anymore.sgpt
is being called from non-interactive shell environments such as cron tab.❗️Shell integration logic has been updated, and it will not work with previous version of integration function in
~/.bashrc
or~/.zshrc
. Runsgpt --install-integration
to apply new changes, and remove old integration function from your shell profile if you were using it before.ShellGPT.mp4
REPL stdin
REPL mode can now accept stdin, a PROMPT argument, or even both. This is useful when you want to provide some initial context for your prompt.
sgpt --repl temp < my_app.py
It is also possible to pass PROMPT to REPL mode
sgpt --repl temp "some initial prompt"
or even bothsgpt --repl temp "initial arg prompt" < text.txt
.Full Changelog: 1.1.0...1.2.0
Beta Was this translation helpful? Give feedback.
All reactions