Module cli

Source
Expand description

Support for accessing the timelog logic from a tool

§Examples

use clap::Parser;

use timelog::Cli;

let cli = Cli::parse();
let _ = cli.run();

§Description

The Cli struct handling the command line processing for the main program.

Re-exports§

pub use args::DateRangeArgs;
pub use args::FilterArgs;

Modules§

args
Structs defining different sets of arguments supplied on command line
cmd
Implementations of the commands run by the CLI

Structs§

Cli
Specify all of the command line parameters supported by the program.