Skip to content

Hide internal Wire commands from CLI help #417

@kamilio

Description

@kamilio

Problem

wire --help exposes commands that should not be public:

create <url>                    Fetch a source URL, write a smartly named Markdown file in the current
                                directory, and register it.

show <value>                    Show one registered resource selected by URL, resource ID, or Markdown
                                path.

switch-db                       Switch the workspace registry backend between sqlite and files.

Expected behavior

  • create <url> should not exist as a named command in help or as a public command.
  • show <value> should not exist as a public command.
  • switch-db is internal and should not appear in help.
  • If bare wire <url> is intentionally supported, that default command can remain without advertising create as a named command.

Acceptance criteria

  • wire --help does not list create, show, or switch-db.
  • wire create ... and wire show ... are not available as public commands.
  • switch-db remains hidden from normal user-facing help.
  • CLI/MCP command-surface tests are updated to cover the public command list.

Metadata

Metadata

Assignees

No one assigned

    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