Module cli

Source
Expand description

Defines and parses the command-line interface (CLI) for the application.

This module uses the clap crate to define the structure of the CLI, including subcommands, arguments, and help messages. It handles parsing command-line arguments provided by the user into a structured format that the application can easily process.

It is the primary entry point for interacting with the application via the command line.

Structs§

BookmarkCommandProcess
Bookmarks a new command
Cli
Like IntelliSense, but for shells
ExportCommandsProcess
Exports stored user commands
ImportCommandsProcess
Imports user commands
InitProcess
Generates the integration shell script
Interactive
A generic struct that combines process-specific arguments with common interactive mode options.
InteractiveOptions
Options common to interactive processes
QueryProcess
Runs an SQL query against the database
SearchCommandsProcess
Search stored commands
TldrClearProcess
Clear command examples from tldr pages
TldrFetchProcess
Fetches command examples from tldr pages and imports them
VariableReplaceProcess
Replace the variables of a command

Enums§

CliProcess
HttpMethod
Shell
TldrProcess