Skip to content

Commit 3bbde2b

Browse files
committed
docs: update Quick Start with multiline commands and fusecli link step
1 parent 9eec98a commit 3bbde2b

2 files changed

Lines changed: 25 additions & 6 deletions

File tree

‎README.md‎

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,22 @@
2525
bun add -g @fusengine/fusecli
2626

2727
# Generate a CLI from any OpenAPI spec
28-
fusecli create exa --openapi https://raw.githubusercontent.com/exa-labs/openapi-spec/refs/heads/master/exa-openapi-spec.yaml
28+
fusecli create exa \
29+
--openapi https://raw.githubusercontent.com/exa-labs/openapi-spec/refs/heads/master/exa-openapi-spec.yaml \
30+
--token "your-exa-api-key"
2931

3032
# Build the binary
3133
fusecli bundle exa
3234

35+
# Link to PATH + AI agents
36+
fusecli link exa
37+
3338
# Set your API key and search
3439
exa-cli auth set "your-exa-api-key"
35-
exa-cli search --query "fusengine" --num-results 3 --json
40+
exa-cli search \
41+
--query "fusengine" \
42+
--num-results 3 \
43+
--json
3644
```
3745

3846
**Real output** (tested March 2026):
@@ -102,6 +110,9 @@ bun add -g @fusengine/fusecli
102110

103111
# npm
104112
npm install -g @fusengine/fusecli
113+
114+
# GitHub (direct)
115+
npm install -g github:fusengine/fusecli
105116
```
106117

107118
**Requirement**: [Bun](https://bun.sh) 1.2+

‎packages/cli/README.md‎

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,22 @@ npm install -g github:fusengine/fusecli
3131

3232
```bash
3333
# Generate a CLI from any OpenAPI spec
34-
fusecli create exa --openapi https://raw.githubusercontent.com/exa-labs/openapi-spec/refs/heads/master/exa-openapi-spec.yaml
34+
fusecli create exa \
35+
--openapi https://raw.githubusercontent.com/exa-labs/openapi-spec/refs/heads/master/exa-openapi-spec.yaml \
36+
--token "your-exa-api-key"
3537

3638
# Build the binary
3739
fusecli bundle exa
3840

39-
# Use it
40-
exa-cli auth set "your-api-key"
41-
exa-cli search --query "fusengine" --num-results 3 --json
41+
# Link to PATH + AI agents
42+
fusecli link exa
43+
44+
# Set your API key and search
45+
exa-cli auth set "your-exa-api-key"
46+
exa-cli search \
47+
--query "fusengine" \
48+
--num-results 3 \
49+
--json
4250
```
4351

4452
## Commands

0 commit comments

Comments
 (0)