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

Closed
opened 2026-02-16 17:28:58 -05:00 by yindo · 1 comment
Owner

Originally created by @sudo-tee on GitHub (Jul 29, 2025).

Originally assigned to: @thdxr on GitHub.

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.

Originally created by @sudo-tee on GitHub (Jul 29, 2025). Originally assigned to: @thdxr on GitHub. 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.
yindo closed this issue 2026-02-16 17:28:58 -05:00
Author
Owner

@rstacruz commented on GitHub (Oct 30, 2025):

This might already be done: https://github.com/sst/opencode/pull/2348

@rstacruz commented on GitHub (Oct 30, 2025): This might already be done: https://github.com/sst/opencode/pull/2348
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#975