run_without_tracebacks

run_without_tracebacks(app: App, args: Optional[list[str]] = None)

Suppress traceback when running from CLI.

Parameters

app : App

The Cyclopts app instance to run as the CLI.

args : Optional[list[str]] = None

Any arguments to pass to the app upon launch. This is mostly for testing purposes so that we can emulate running app --cmd inside run_without_tracebacks().