Skip to content

How to set a default typer command? #25

@JohnGiorgi

Description

@JohnGiorgi

Because of the nesting of our typer apps, we end up with a weird situation where one has to specify a final command, when intuitively we would like a default. E.g. seq2rel-ds preprocess <command> main. Ideally, we would like to be able to drop main, with the assumption that this is the subcommand we want if no other subcommand is specified. I have tried to figure out how to to this with typer with no luck. Keep an eye on this issue in case it is ever resolved.

Metadata

Metadata

Assignees

Labels

invalidThis doesn't seem right

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions