Skip to content

Show help for a bare ts dev proxy invocation #1063

Description

@ChristianPavilonis

Running ts dev proxy without a rewrite rule currently reaches config::resolve, returns ConfigError::NoRule, and exposes internal error-stack locations because the report is rendered with debug formatting.

Show Clap help before proxy startup for the bare invocation, for example with arg_required_else_help = true on ProxyArgs. Keep concise no-rule errors for incomplete explicit arguments, render propagated reports as user-facing errors, and preserve ts dev proxy ca ..., which does not require rewrite rules.

Add regression coverage for the bare invocation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions