Skip to main content

Module cli

Module cli 

Source
Expand description

CLI argument parsing and input normalization for TARDIS.

Structs§

Cli
TARDIS — Time And Relative Date Input Simplifier
Command
Normalised user command ready for further processing.
ConvertArgs
Arguments for the convert subcommand.
DiffArgs
Arguments for the diff subcommand.
InfoArgs
Arguments for the info subcommand.
RangeArgs
Arguments for the range subcommand.
TzArgs
Arguments for the tz subcommand.

Enums§

ConfigAction
Subactions for td config.
DiffOutput
Output format for diff results.
ShellType
Supported shell types for completion generation.
SubCmd
Available subcommands for the td binary.

Constants§

ABOUT_HELP
Long about text displayed in --help output.
AFTER_LONG_HELP
Extended help text displayed after long help output.
INPUT_HELP
Help text for the positional input argument.
NOW_HELP
Long help text for the --now flag.
STYLES
Clap color styles for CLI help output.
TIMEZONE_HELP
Long help text for the --timezone flag.