Skip to content

Commit a3cbbba

Browse files
committed
docs: separate shell command from output in examples
Signed-off-by: tylerslaton <[email protected]>
1 parent 01583db commit a3cbbba

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ Form and run a SQL query to find the artist with the most number of albums and o
2727
the result of that.
2828

2929
When done remove the database file and the downloaded content.
30+
```shell
31+
$ gptscript ./example.gpt
3032
```
3133
```
32-
$ gptscript ./example.gpt
33-
3434
OUTPUT:
3535

3636
The artist with the most number of albums in the database is Iron Maiden, with a total
@@ -89,7 +89,8 @@ $env:OPENAI = 'your-api-key'
8989

9090
```shell
9191
gptscript https://get.gptscript.ai/echo.gpt --input 'Hello, World!'
92-
92+
```
93+
```
9394
OUTPUT:
9495
9596
Hello, World!
@@ -134,7 +135,8 @@ When asked how I am doing, respond with "Thanks for asking "${question}", I'm do
134135
Put the above content in a file named `bob.gpt` and run the following command:
135136
```shell
136137
$ gptscript bob.gpt
137-
138+
```
139+
```
138140
OUTPUT:
139141
140142
Bob said, "Thanks for asking 'How are you doing?', I'm doing great fellow friendly AI tool!"

docs/docs/01-overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ Form and run a SQL query to find the artist with the most number of albums and o
2626
the result of that.
2727

2828
When done remove the database file and the downloaded content.
29+
```shell
30+
$ gptscript ./example.gpt
2931
```
3032
```
31-
$ gptscript ./example.gpt
32-
3333
OUTPUT:
3434

3535
The artist with the most number of albums in the database is Iron Maiden, with a total

docs/docs/100-tools/100-tools.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ When asked how I am doing, respond with "Thanks for asking "${question}", I'm do
2323

2424

2525
Put the above content in a file named `bob.gpt` and run the following command:
26-
```sh
26+
```shell
2727
$ gptscript bob.gpt
28-
28+
```
29+
```
2930
OUTPUT:
3031
3132
Bob said, "Thanks for asking 'How are you doing?', I'm doing great fellow friendly AI tool!"

0 commit comments

Comments
 (0)