File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525bun 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
3133fusecli bundle exa
3234
35+ # Link to PATH + AI agents
36+ fusecli link exa
37+
3338# Set your API key and search
3439exa-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
104112npm 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+
Original file line number Diff line number Diff 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
3739fusecli 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
You can’t perform that action at this time.
0 commit comments