Skip to content

Use Typer for argument parsing #137

@DomAyre

Description

@DomAyre

From some basic research, it looks like our arg handling could be simplified a lot using a tool like Typer. We should try and sub out our custom solution based on argparser, keeping all the same properties and args we have now, including

Each arg is declared once, even if it’s used in multiple places
Subcommands are supported
You can specify the arg inline (i.e. —my-arg) or via the environment (I.e. MY_ARG=“”)
If a required arg isn’t specified the user is prompted to input one interactively
—help works at any level including in subcommands

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions