chore: add general usage message to --help message (#3500)
This commit is contained in:
parent
a4097ae6f9
commit
ba58e077eb
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue