Skip to content

Commit

Permalink
Update README with new ssage CLI usage examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ncoop57 committed Dec 28, 2024
1 parent b84449a commit 499b88b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,10 @@ ssage hi ShellSage
cat error.log | ssage explain this error
# Target a specific tmux pane
ssage --pid %3 what's happening in this pane?
ssage --pid %3 what is happening in this pane?
# Automatically fill in the command to run
ssage --c how can I list all files including the hidden ones?
```

The `--pid` flag is particularly useful when you want to analyze content
Expand Down
5 changes: 4 additions & 1 deletion nbs/index.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,10 @@
"cat error.log | ssage explain this error\n",
"\n",
"# Target a specific tmux pane\n",
"ssage --pid %3 what's happening in this pane?\n",
"ssage --pid %3 what is happening in this pane?\n",
"\n",
"# Automatically fill in the command to run\n",
"ssage --c how can I list all files including the hidden ones?\n",
"```\n",
"\n",
"The `--pid` flag is particularly useful when you want to analyze content from a different pane. The pane ID is visible in your tmux status bar (configured earlier)."
Expand Down

0 comments on commit 499b88b

Please sign in to comment.