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.
Running
ts dev proxywithout a rewrite rule currently reachesconfig::resolve, returnsConfigError::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 = trueonProxyArgs. Keep concise no-rule errors for incomplete explicit arguments, render propagated reports as user-facing errors, and preservets dev proxy ca ..., which does not require rewrite rules.Add regression coverage for the bare invocation.