From 499b88bca23697d5bf66b0eecafcd588b7c6a800 Mon Sep 17 00:00:00 2001 From: ncoop57 Date: Sat, 28 Dec 2024 10:51:43 -0600 Subject: [PATCH] Update README with new ssage CLI usage examples --- README.md | 5 ++++- nbs/index.ipynb | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4df71ce..c20690f 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/nbs/index.ipynb b/nbs/index.ipynb index a08a078..b8c0824 100644 --- a/nbs/index.ipynb +++ b/nbs/index.ipynb @@ -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)."