feat(opencode): add search to auth logout command (#31053)

This commit is contained in:
Aiden Cline 2026-06-05 20:51:55 -05:00 committed by GitHub
commit 3f0ef9b71c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 33 additions and 14 deletions

View file

@ -149,9 +149,9 @@ exports[`opencode CLI help-text snapshots every documented command emits stable
manage AI providers and credentials
Commands:
opencode providers list list providers and credentials [aliases: ls]
opencode providers login [url] log in to a provider
opencode providers logout log out from a configured provider
opencode providers list list providers and credentials [aliases: ls]
opencode providers login [url] log in to a provider
opencode providers logout [provider] log out from a configured provider
Options:
-h, --help show help [boolean]
@ -504,10 +504,13 @@ Options:
`;
exports[`opencode CLI help-text snapshots every documented command emits stable help text: opencode providers logout --help 1`] = `
"opencode providers logout
"opencode providers logout [provider]
log out from a configured provider
Positionals:
provider provider id or name to log out from [string]
Options:
-h, --help show help [boolean]
-v, --version show version number [boolean]