Skip to content

Bug: opencode providers logout ignores arguments, always shows help #30313

@S74RK1113R

Description

@S74RK1113R

Description

opencode providers logout should accept a provider name argument to log out from a specific provider (e.g., opencode providers logout "GitHub Copilot"), but instead it ignores any arguments and always shows the help output.

Plugins

No response

OpenCode version

1.15.13

Steps to reproduce

  1. Configure any provider (e.g., opencode providers login Groq)
  2. Try to log out specifying the provider name:
    opencode providers logout Groq
  3. Help text is displayed instead of executing the logout

Screenshot and/or share link

No response

Operating System

Linux Mint

Terminal

gnome-terminal

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions