Module cli

Module cli 

Source
Expand description

The cli itself The command line interface, defined with clap’s derive API.

Each subcommand’s arguments are a typed struct, so the code using them is checked at compile time.

Help text is given with explicit help = ... attributes rather than doc comments, because clap derive turns doc comments on these types into (long) help, which would change the --help output.

Structs§

ArcArgs
AssemblyFieldArgs
AssemblySearchArgs
AssemblySearchCommandArgs
Cli
HistArgs
LookupArgs
NewickArgs
OutputArgs
QueryArgs
RecordArgs
ScatterArgs
SearchRequest
Everything search and count need, from either index’s arguments.
SortArgs
SourcesArgs
TaxonFieldArgs
TaxonSearchArgs
TaxonSearchCommandArgs

Enums§

AssemblyCommand
Index
SortOrder
TaxonCommand

Functions§

build_cli
The clap::Command for the CLI, e.g. for generating completions or checking its definition in tests.
write_completions
Write the completion script for shell to out.