Lines Matching defs:clap
10 impl clap::Parser for #name {}
18 impl clap::CommandFactory for #name {
19 fn command<'b>() -> clap::Command {
22 fn command_for_update<'b>() -> clap::Command {
32 impl clap::FromArgMatches for #name {
33 fn from_arg_matches(_m: &clap::ArgMatches) -> ::std::result::Result<Self, clap::Error> {
36 fn update_from_arg_matches(&mut self, matches: &clap::ArgMatches) -> ::std::result::Result<(), clap::Error>{
47 impl clap::Subcommand for #name {
48 fn augment_subcommands(_cmd: clap::Command) -> clap::Command {
51 fn augment_subcommands_for_update(_cmd: clap::Command) -> clap::Command {
66 impl clap::Args for #name {
67 fn augment_args(_cmd: clap::Command) -> clap::Command {
70 fn augment_args_for_update(_cmd: clap::Command) -> clap::Command {
81 impl clap::ValueEnum for #name {
88 fn to_possible_value<'a>(&self) -> ::std::option::Option<clap::builder::PossibleValue>{