File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ # sgpt
2
+
3
+ > Command-line productivity tool powered by OpenAI's GPT models.
4
+ > More information: < https://github.com/TheR1D/shell_gpt#readme > .
5
+
6
+ - Use it as a search engine, asking for the mass of the sun:
7
+
8
+ ` sgpt "{{mass of the sun}}" `
9
+
10
+ - Execute Shell commands, and apply ` chmod 444 ` to all files in the current directory:
11
+
12
+ ` sgpt --shell "{{make all files in current directory read only}}" `
13
+
14
+ - Generate code, solving classic fizz buzz problem:
15
+
16
+ ` sgpt --code "{{solve fizz buzz problem using Python}}" `
17
+
18
+ - Start a chat session with a unique session name:
19
+
20
+ ` sgpt --chat {{session_name}} "{{please remember my favorite number: 4}}" `
21
+
22
+ - Start a ` REPL ` (Read–eval–print loop) session:
23
+
24
+ ` sgpt --repl {{command}} `
25
+
26
+ - Display help:
27
+
28
+ ` sgpt --help `
You can’t perform that action at this time.
0 commit comments