• Home
  • Raw
  • Download

Lines Matching full:cmd

6     let cmd = common::basic_command(name);  in basic()  localVariable
7 common::assert_matches_path("tests/snapshots/basic.bash.roff", cmd); in basic()
13 let cmd = common::feature_sample_command(name); in feature_sample() localVariable
14 common::assert_matches_path("tests/snapshots/feature_sample.bash.roff", cmd); in feature_sample()
20 let cmd = common::special_commands_command(name); in special_commands() localVariable
21 common::assert_matches_path("tests/snapshots/special_commands.bash.roff", cmd); in special_commands()
27 let cmd = common::quoting_command(name); in quoting() localVariable
28 common::assert_matches_path("tests/snapshots/quoting.bash.roff", cmd); in quoting()
34 let cmd = common::aliases_command(name); in aliases() localVariable
35 common::assert_matches_path("tests/snapshots/aliases.bash.roff", cmd); in aliases()
41 let cmd = common::sub_subcommands_command(name); in sub_subcommands() localVariable
42 common::assert_matches_path("tests/snapshots/sub_subcommands.bash.roff", cmd); in sub_subcommands()
48 let cmd = common::value_hint_command(name); in value_hint() localVariable
49 common::assert_matches_path("tests/snapshots/value_hint.bash.roff", cmd); in value_hint()
55 let cmd = common::hidden_option_command(name); in hidden_options() localVariable
56 common::assert_matches_path("tests/snapshots/hidden_option.bash.roff", cmd); in hidden_options()
62 let cmd = common::env_value_command(name); in value_env() localVariable
63 common::assert_matches_path("tests/snapshots/value_env.bash.roff", cmd); in value_env()
69 let cmd = common::possible_values_command(name); in possible_values() localVariable
70 common::assert_matches_path("tests/snapshots/possible_values.bash.roff", cmd); in possible_values()
76 let mut cmd = common::sub_subcommands_command(name); in sub_subcommands_help() localVariable
77 cmd.build(); in sub_subcommands_help()
78 let cmd = cmd in sub_subcommands_help() localVariable
80 .find(|cmd| cmd.get_display_name() == Some("my-app-help")); in sub_subcommands_help()
81 assert!(cmd.is_some(), "help subcommand not found in command"); in sub_subcommands_help()
82 if let Some(cmd) = cmd { in sub_subcommands_help()
83 common::assert_matches_path("tests/snapshots/sub_subcommand_help.roff", cmd.clone()); in sub_subcommands_help()
90 let cmd = common::value_name_without_arg(name); in value_name_without_arg() localVariable
91 common::assert_matches_path("tests/snapshots/value_name_without_arg.bash.roff", cmd); in value_name_without_arg()