Skip to content

Commit ff5a254

Browse files
authored
[Feat] add homebrew install command (#23)
1 parent 8190566 commit ff5a254

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@ jobs:
9090
Cargo install codesnap-cli
9191
```
9292
93+
**Homebrew**
94+
```bash
95+
brew install mistricky/tap/CodeSnap
96+
```
97+
9398
Of course, you can install CodeSnap manually by downloading the following binaries.
9499
95100
${{steps.build_changelog.outputs.changelog}}

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,19 @@ CodeSnap provide two ways to use it, you can use it as a CLI tool or as a librar
2727
### CLI
2828
For CLI tool, you can install it via `cargo`:
2929

30+
**Cargo**
3031
```bash
3132
cargo install codesnap-cli
33+
```
34+
35+
**Homebrew**
36+
```bash
37+
brew install mistricky/tap/CodeSnap
38+
```
39+
40+
Use `codesnap` command to generate code snapshot:
3241

42+
```bash
3343
# Run codesnap to generate code snapshot by providing code file
3444
codesnap -f ./code_snippet.hs -o "./output.png"
3545

0 commit comments

Comments
 (0)