Skip to content

Commit 5712486

Browse files
committed
Add login command to --help
1 parent 98283e1 commit 5712486

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cli/src/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ function parseArgs(): ParsedArgs {
115115
'--cwd <directory>',
116116
'Set the working directory (default: current directory)',
117117
)
118+
.addHelpText('after', '\nCommands:\n login Log in to your account')
118119
.helpOption('-h, --help', 'Show this help message')
119120
.parse(process.argv)
120121
} else {
@@ -140,6 +141,7 @@ function parseArgs(): ParsedArgs {
140141
.option('--lite', 'Start in FREE mode (deprecated, use --free)')
141142
.option('--max', 'Start in MAX mode')
142143
.option('--plan', 'Start in PLAN mode')
144+
.addHelpText('after', '\nCommands:\n login Log in to your account\n publish Publish agents to the registry')
143145
.helpOption('-h, --help', 'Show this help message')
144146
.argument('[prompt...]', 'Initial prompt to send to the agent')
145147
.allowExcessArguments(true)

0 commit comments

Comments
 (0)