fix: rename bin command to match package name for npx
This commit is contained in:
12
bin/cli.js
12
bin/cli.js
@@ -17,12 +17,12 @@ const command = args[0];
|
|||||||
|
|
||||||
function showHelp() {
|
function showHelp() {
|
||||||
console.log(`
|
console.log(`
|
||||||
antigravity-proxy v${packageJson.version}
|
antigravity-claude-proxy v${packageJson.version}
|
||||||
|
|
||||||
Proxy server for using Antigravity's Claude models with Claude Code CLI.
|
Proxy server for using Antigravity's Claude models with Claude Code CLI.
|
||||||
|
|
||||||
USAGE:
|
USAGE:
|
||||||
antigravity-proxy <command> [options]
|
antigravity-claude-proxy <command> [options]
|
||||||
|
|
||||||
COMMANDS:
|
COMMANDS:
|
||||||
start Start the proxy server (default port: 8080)
|
start Start the proxy server (default port: 8080)
|
||||||
@@ -41,10 +41,10 @@ ENVIRONMENT:
|
|||||||
PORT Server port (default: 8080)
|
PORT Server port (default: 8080)
|
||||||
|
|
||||||
EXAMPLES:
|
EXAMPLES:
|
||||||
antigravity-proxy start
|
antigravity-claude-proxy start
|
||||||
PORT=3000 antigravity-proxy start
|
PORT=3000 antigravity-claude-proxy start
|
||||||
antigravity-proxy accounts add
|
antigravity-claude-proxy accounts add
|
||||||
antigravity-proxy accounts list
|
antigravity-claude-proxy accounts list
|
||||||
|
|
||||||
CONFIGURATION:
|
CONFIGURATION:
|
||||||
Claude Code CLI (~/.claude/settings.json):
|
Claude Code CLI (~/.claude/settings.json):
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
"main": "src/index.js",
|
"main": "src/index.js",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"bin": {
|
"bin": {
|
||||||
"antigravity-proxy": "bin/cli.js"
|
"antigravity-claude-proxy": "bin/cli.js"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"src",
|
"src",
|
||||||
|
|||||||
Reference in New Issue
Block a user