Skip to content

Commit

Permalink
add location note
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Jun 18, 2024
1 parent d4dfa84 commit 2170cb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/src/content/docs/reference/cli/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ npx genaiscript scripts compile

## Run a script

[Run a genai script](/genaiscript/reference/cli/run) on file and streams the LLM output to stdout.
[Run a script](/genaiscript/reference/cli/run) on file
and streams the LLM output to stdout. **Run from the workspace root**.

```sh
npx genaiscript run <script> [files...]
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/reference/cli/run.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sidebar:
keywords: CLI tool execution, genai script running, stdout streaming, file globing, environment configuration
---

Runs a script on files and streams the LLM output to stdout or a folder.
Runs a script on files and streams the LLM output to stdout or a folder from the workspace root.

```bash
npx genaiscript run <script> "<files...>"
Expand Down

0 comments on commit 2170cb5

Please sign in to comment.