Skip to content

Commit b65172a

Browse files
committed
Tweak auth cli copy
1 parent 081f100 commit b65172a

File tree

1 file changed

+5
-2
lines changed
  • packages/opencode/src/cli/cmd

1 file changed

+5
-2
lines changed

packages/opencode/src/cli/cmd/auth.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const AuthCommand = cmd({
1616
describe: "manage credentials",
1717
builder: (yargs) =>
1818
yargs.command(AuthLoginCommand).command(AuthLogoutCommand).command(AuthListCommand).demandCommand(),
19-
async handler() {},
19+
async handler() { },
2020
})
2121

2222
export const AuthListCommand = cmd({
@@ -61,7 +61,10 @@ export const AuthListCommand = cmd({
6161
prompts.log.info(`${provider} ${UI.Style.TEXT_DIM}${envVar}`)
6262
}
6363

64-
prompts.outro(`${activeEnvVars.length} environment variables`)
64+
prompts.outro(
65+
`${activeEnvVars.length} environment variable`
66+
+ (activeEnvVars.length === 1 ? "" : "s")
67+
)
6568
}
6669
},
6770
})

0 commit comments

Comments
 (0)