feat: add alias to the cli bin directive (#126)
This commit is contained in:
parent
05c568126f
commit
ef7dcdb49e
|
@ -6520,7 +6520,7 @@
|
|||
"yargs": "^17.7.2"
|
||||
},
|
||||
"bin": {
|
||||
"cli": "dist/index.js"
|
||||
"gemini-code": "dist/index.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/diff": "^7.0.2",
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env node
|
||||
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2025 Google LLC
|
||||
|
|
|
@ -4,7 +4,9 @@
|
|||
"description": "Gemini Code CLI",
|
||||
"type": "module",
|
||||
"main": "dist/index.js",
|
||||
"bin": "dist/index.js",
|
||||
"bin": {
|
||||
"gemini-code": "dist/index.js"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc --build && touch dist/.last_build",
|
||||
"clean": "rm -rf dist",
|
||||
|
|
Loading…
Reference in New Issue