Skip to content

feature request: expose '/init' , '/compact' to Opencode CLI #1398

Closed

Description

@sudo-tee

It would be great if the CLI exposed commands of the tui slash commands.

example: opencode init would do the same as typing /init in the tui.

The reason being I'm trying to control opencode with opencode run through another app and some useful commands are only available in the tui.

Activity

  1. self-assigned this
    on Jul 30, 2025
  2. rstacruz commented on Oct 30, 2025

    @rstacruz
    Contributor

    This might already be done: #2348

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions