Skip to main content

Module cli

Module cli 

Source
Expand description

Command-line interface definitions.

This module uses clap to define the full CLI surface of rustodo: the top-level Cli struct, the Commands enum with one variant per subcommand, and the AddArgs helper struct for the add subcommand.

Consumers of the library can use these types to embed rustodo commands in their own applications.

Structs§

AddArgs
Arguments for the add subcommand.
Cli
Top-level CLI entry point.
EditArgs
Arguments for the edit subcommand.

Enums§

Commands
All available subcommands.
SyncCommands
Subcommands for todo sync.