Tweak auth cli copy

This commit is contained in:
Jay V
2025-07-24 19:16:05 -04:00
parent 081f100c93
commit b65172a2b7

View File

@@ -16,7 +16,7 @@ export const AuthCommand = cmd({
describe: "manage credentials",
builder: (yargs) =>
yargs.command(AuthLoginCommand).command(AuthLogoutCommand).command(AuthListCommand).demandCommand(),
async handler() {},
async handler() { },
})
export const AuthListCommand = cmd({
@@ -61,7 +61,10 @@ export const AuthListCommand = cmd({
prompts.log.info(`${provider} ${UI.Style.TEXT_DIM}${envVar}`)
}
prompts.outro(`${activeEnvVars.length} environment variables`)
prompts.outro(
`${activeEnvVars.length} environment variable`
+ (activeEnvVars.length === 1 ? "" : "s")
)
}
},
})