clyops Node API
    Preparing search index...

    Interface SchemaCommand

    A command (spec section 1.7): its own options only.

    interface SchemaCommand {
        arguments: SchemaArgument[];
        commands?: SchemaCommand[];
        constraints?: SchemaConstraint[];
        description: string;
        effects?: Effect[];
        epilog: string;
        name: string;
        options: SchemaOption[];
        requiredCommands: {
            command: string;
            description: string;
            installHint: string;
        }[];
        stdin?: SchemaStream
        | null;
        stdout?: SchemaStream | null;
    }

    Hierarchy (View Summary)

    Index
    arguments: SchemaArgument[]

    Positional arguments in registration order.

    commands?: SchemaCommand[]

    Nested commands with their own options, arguments, and metadata.

    constraints?: SchemaConstraint[]

    Declared exclusive, requires, and oneOf option relationships.

    description: string

    Human-readable description shown in help and documentation.

    effects?: Effect[]

    Declared read-only, idempotent, destructive, or network effects.

    epilog: string

    Text shown after the help sections.

    name: string

    Program, command, option, or argument name as declared in its containing type.

    options: SchemaOption[]

    Options declared at this command level, in registration order.

    requiredCommands: { command: string; description: string; installHint: string }[]

    External executables required by the tool, with descriptions and install hints.

    Type Declaration

    • command: string

      Executable name searched for on PATH.

    • description: string

      Why the executable is needed.

    • installHint: string

      Installation instructions when the executable is absent.

    stdin?: SchemaStream | null

    Declared input stream, or null/absent when none is declared.

    stdout?: SchemaStream | null

    Declared output stream, or null/absent when undeclared (text output).