[][src]Module flaggy::command

command defines structures for configuring a command-line binary's command(s). A binary might have several (sub-)Commands (e.g. like Git, where commit, log, etc. are all commands), or it might just have a single Command if it's entirely a single-use binary.

Structs

Command

A command is a single sub-command for a given program. Each command has its own description as well as sets of options and arguments that it accepts.

Type Definitions

CommandCallback

The caller-provided callback trait object which will be called for a particular Command.

CommandResult

An alias for Result, which has an arbitrary Error type. This is used to denote the actual Result returned by a caller-provided Command implementation.