Lines Matching refs:Command
5 use crate::{ArgMatches, Command, Error};
12 /// [`Command`], conduct the parsing, and turn the resulting [`ArgMatches`] back
48 /// The equivalent [`Command`] struct + `From` implementation:
51 /// # use clap::{Command, Arg, ArgMatches, ArgAction};
52 /// Command::new("demo")
159 /// Create a [`Command`] relevant for a user-defined container.
163 /// Build a [`Command`] that can instantiate `Self`.
166 fn command() -> Command;
167 /// Build a [`Command`] that can update `self`.
170 fn command_for_update() -> Command;
289 /// Append to [`Command`] so it can instantiate `Self`.
292 fn augment_args(cmd: Command) -> Command;
293 /// Append to [`Command`] so it can update `self`.
298 fn augment_args_for_update(cmd: Command) -> Command;
331 /// Append to [`Command`] so it can instantiate `Self`.
334 fn augment_subcommands(cmd: Command) -> Command;
335 /// Append to [`Command`] so it can update `self`.
340 fn augment_subcommands_for_update(cmd: Command) -> Command;
424 fn command<'help>() -> Command {
427 fn command_for_update<'help>() -> Command {
448 fn augment_args(cmd: Command) -> Command {
451 fn augment_args_for_update(cmd: Command) -> Command {
457 fn augment_subcommands(cmd: Command) -> Command {
460 fn augment_subcommands_for_update(cmd: Command) -> Command {