Skip to content

Commit 7ac1f98

Browse files
authored
New demo video and release ShellGPT v1.0.0 (#403)
1 parent d9a2e37 commit 7ac1f98

File tree

5 files changed

+4
-13
lines changed

5 files changed

+4
-13
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# ShellGPT
22
A command-line productivity tool powered by AI large language models (LLM). As developers, we can leverage AI capabilities to generate shell commands, code snippets, comments, and documentation, among other things. Forget about cheat sheets and notes, with this tool you can get accurate answers right in your terminal, and you'll probably find yourself reducing your daily Google searches, saving you valuable time and effort. ShellGPT is cross-platform compatible and supports all major operating systems, including Linux, macOS, and Windows with all major shells, such as PowerShell, CMD, Bash, Zsh, Fish, and many others.
33

4-
https://user-images.githubusercontent.com/16740832/231569156-a3a9f9d4-18b1-4fff-a6e1-6807651aa894.mp4
4+
https://github-production-user-asset-6210df.s3.amazonaws.com/16740832/291779848-66392282-474e-4a84-8482-d20c53c8727d.mp4
55

66
## Installation
77
```shell

sgpt/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.9.4"
1+
__version__ = "1.0.0"

sgpt/app.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ def main(
7171
version: bool = typer.Option(
7272
False,
7373
"--version",
74-
"-v",
7574
help="Show version.",
7675
callback=get_sgpt_version,
7776
),

sgpt/role.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
SHELL_ROLE = """Provide only {shell} commands for {os} without any description.
1717
If there is a lack of details, provide most logical solution.
1818
Ensure the output is a valid shell command.
19-
If multiple steps required try to combine them together.
19+
If multiple steps required try to combine them together using &&.
2020
Provide only plain text without Markdown formatting.
2121
Do not provide markdown formatting such as ```.
2222
"""
@@ -36,7 +36,7 @@
3636

3737
DEFAULT_ROLE = """You are programming and system administration assistant.
3838
You are managing {os} operating system with {shell} shell.
39-
Provide short responses in about 120 words, unless you are asked for more details.
39+
Provide short responses in about 100 words, unless you are specifically asked for more details.
4040
Use and apply Markdown formatting when possible.
4141
If you need to store any data, assume it will be stored in the conversation."""
4242

tests/test_integration.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -491,11 +491,3 @@ def test_version(self):
491491
}
492492
result = runner.invoke(app, self.get_arguments(**dict_arguments), input="d\n")
493493
assert __version__ in result.stdout
494-
495-
dict_arguments = {
496-
"prompt": "",
497-
"-v": True,
498-
}
499-
500-
result = runner.invoke(app, self.get_arguments(**dict_arguments), input="d\n")
501-
assert __version__ in result.stdout

0 commit comments

Comments
 (0)