Skip to content

Commit 721fa69

Browse files
authored
Show claude-code-publish import --gist in README
1 parent 5e48004 commit 721fa69

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,21 @@ This will generate:
4343

4444
### Publishing to GitHub Gist
4545

46-
Use the `--gist` option to automatically upload your transcript to a GitHub Gist and get a shareable preview URL:
46+
Use the `--gist` option to automatically upload your transcript to a GitHub Gist and get a shareable preview URL.
47+
48+
If you use that with the `import` command with no other options you can directly select a session to publish to a Gist:
49+
50+
```bash
51+
claude-code-publish import --gist
52+
```
53+
The `--gist` option is available for other commands too:
4754

4855
```bash
4956
claude-code-publish session.json --gist
57+
claude-code-publish import session_01BU6ZZoB7zTHrh9DAspF5hj --gist
5058
```
5159

52-
This will output something like:
60+
Each of these will output something like:
5361
```
5462
Gist: https://gist.github.com/username/abc123def456
5563
Preview: https://gistpreview.github.io/?abc123def456/index.html

0 commit comments

Comments
 (0)