mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-13 05:12:55 -07:00
chore: add general usage message to --help message (#3500)
This commit is contained in:
@@ -53,6 +53,11 @@ interface CliArgs {
|
|||||||
|
|
||||||
async function parseArguments(): Promise<CliArgs> {
|
async function parseArguments(): Promise<CliArgs> {
|
||||||
const argv = await yargs(hideBin(process.argv))
|
const argv = await yargs(hideBin(process.argv))
|
||||||
|
.scriptName('gemini')
|
||||||
|
.usage(
|
||||||
|
'$0 [options]',
|
||||||
|
'Gemini CLI - Launch an interactive CLI, use -p/--prompt for non-interactive mode',
|
||||||
|
)
|
||||||
.option('model', {
|
.option('model', {
|
||||||
alias: 'm',
|
alias: 'm',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
|||||||
Reference in New Issue
Block a user