Skip to content

Executing commands using opencode run does not work #2200

Closed

Description

@JUVOJustin

I try to execute one commands that calls other commands using the bash execution like this:

---
description: (Re-)Setup this plugin
---

It is extremely important to always follow this order:

1. Setup commands
`!opencode run "/commands-upsert"`

2. Setup rules
`!opencode run "/rules-upsert"`

3. Upsert Strauss
`!opencode run "/strauss-upsert"`

4. Upsert Q&A
`!opencode run "/qa-upsert"`

5. Update readme
`!opencode run "/readme-update"`

Executing commands using "run" generally seems to not work:
opencode run "/my-command".

Activity

  1. JUVOJustin commented on Aug 23, 2025

    @JUVOJustin
    Author

    My bad this was caused by an "@" in my /rules-upsert command. Removing the "@" allows processing the command and therefore the parent command.

  2. rekram1-node commented on Aug 23, 2025

    @rekram1-node
    Contributor

    @JUVOJustin so can we close out?

  3. JUVOJustin commented on Aug 23, 2025

    @JUVOJustin
    Author

    Yes! The initial issue is not the one i claimed. Thx for the great work

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