For AI agents: the complete documentation index is available at https://scriptedalchemy.github.io/agent-bundle/zh/llms.txt, the full documentation bundle is available at https://scriptedalchemy.github.io/agent-bundle/zh/llms-full.txt, and this page is available as Markdown at https://scriptedalchemy.github.io/agent-bundle/zh/api/interfaces/routes_public.CliRouteConfig.md.
  • 简体中文
  • Interface: CliRouteConfig

    Static metadata of one src/cli/** command route (#102 stage 2). Every field must stay inside the static route-config grammar; the command path itself comes from the file path, never from config.

    Properties

    aliases?

    readonly optional aliases?: readonly string[]

    Alternative command names at the same nesting level.


    description?

    readonly optional description?: string


    exitCode?

    readonly optional exitCode?: "result"

    Exit-code policy: omit for 0-on-success, or 'result' to read the validated result's integer exitCode property (0-255).


    positionals?

    readonly optional positionals?: readonly string[]

    The inputSchema keys consumed as bare arguments, in order. All but the last must be scalar; a trailing z.array(...) key is variadic. Keys not named here become --options.