MCPcopy Index your code

hub / github.com/jacobdeichert/mask / functions

Functions69 in github.com/jacobdeichert/mask

↓ 46 callersFunctionrun_mask
(maskfile: &PathBuf)
mask/tests/common/mod.rs:37
↓ 37 callersFunctionmaskfile
(content: &'static str)
mask/tests/common/mod.rs:26
↓ 31 callersMethodcommand
(&mut self, c: &'static str)
mask/tests/common/mod.rs:12
↓ 13 callersMethodcli
(&mut self, arguments: &'static str)
mask/tests/common/mod.rs:17
↓ 3 callersFunctionread_maskfile
(maskfile: &Path)
mask/src/loader.rs:5
↓ 2 callersMethodbuild
(mut self)
mask-parser/src/maskfile.rs:41
↓ 2 callersFunctionparse
(maskfile_contents: String)
mask-parser/src/parser.rs:5
↓ 1 callersFunctionadd_flag_variables
(mut child: process::Command, cmd: &Command)
mask/src/executor.rs:102
↓ 1 callersFunctionadd_utility_variables
Add some useful environment variables that scripts can use
mask/src/executor.rs:73
↓ 1 callersFunctionbuild_subcommands
( mut cli_app: App<'a, 'b>, subcommands: &'a Vec<Command>, )
mask/src/main.rs:112
↓ 1 callersFunctioncreate_markdown_parser
(maskfile_contents: &'a String)
mask-parser/src/parser.rs:169
↓ 1 callersFunctioncustom_maskfile_path_arg
Load a maskfile from another directory
mask/src/main.rs:93
↓ 1 callersFunctionexecute_command
(cmd: Command, maskfile_path: String)
mask/src/executor.rs:10
↓ 1 callersFunctionfind_command
(matches: &ArgMatches, subcommands: &Vec<Command>)
mask/src/main.rs:152
↓ 1 callersFunctionfind_maskfile
()
mask/src/main.rs:51
↓ 1 callersFunctionget_command_options
(mut cmd: Command, matches: &ArgMatches)
mask/src/main.rs:171
↓ 1 callersFunctionintrospect_arg
Print out the maskfile structure in json
mask/src/main.rs:105
↓ 1 callersFunctionis_introspecting
()
mask/src/main.rs:82
↓ 1 callersFunctionparse_command_name_and_required_args
(text: String)
mask-parser/src/parser.rs:227
↓ 1 callersFunctionprepare_command
(cmd: &Command)
mask/src/executor.rs:24
↓ 1 callersMethodto_json
(&self)
mask-parser/src/maskfile.rs:12
↓ 1 callersFunctiontreeify_commands
(commands: Vec<Command>)
mask-parser/src/parser.rs:178
Functionallows_entering_negative_numbers_as_flag_values
()
mask/tests/arguments_and_flags_test.rs:143
Functionallows_entering_negative_numbers_as_values
()
mask/tests/arguments_and_flags_test.rs:115
Functionbash
()
mask/tests/supported_runtimes_test.rs:115
Functionbatch
()
mask/tests/supported_runtimes_test.rs:55
Functioncmd
()
mask/tests/supported_runtimes_test.rs:75
Functionerrors_for_non_existent_maskfile
()
mask/src/loader.rs:40
Functionerrors_when_no_lang_code_is_specified
()
mask/tests/supported_runtimes_test.rs:8
Functionerrors_when_val_is_not_supplied
()
mask/tests/arguments_and_flags_test.rs:413
Functionerrors_when_value_is_not_a_number
()
mask/tests/arguments_and_flags_test.rs:278
Functionexits_with_error1
()
mask/tests/integration_test.rs:144
Functionexits_with_error2
()
mask/tests/integration_test.rs:167
Functionexits_with_error_for_any_other_command
()
mask/tests/integration_test.rs:63
Functionexits_with_error_for_help
()
mask/tests/integration_test.rs:78
Functionexits_with_error_for_version
()
mask/tests/integration_test.rs:91
Functionexits_with_error_when_it_has_no_script_lang_code
()
mask/tests/subcommands_test.rs:88
Functionexits_with_error_when_missing_subcommand
()
mask/tests/subcommands_test.rs:58
Functionexits_with_error_when_subcommand_has_version_flag
()
mask/tests/arguments_and_flags_test.rs:352
Functionexits_with_success
()
mask/tests/integration_test.rs:121
Functionexits_without_error_for_help
()
mask/tests/integration_test.rs:43
Functionexits_without_error_for_version
()
mask/tests/integration_test.rs:53
Functionignores_the_option_if_not_supplied
()
mask/tests/arguments_and_flags_test.rs:309
Functionlogs_warning_about_missing_maskfile
()
mask/tests/integration_test.rs:31
Functionmain
()
mask/src/main.rs:10
Functionnamed_flags
()
mask/tests/arguments_and_flags_test.rs:51
Methodnew
(level: u8)
mask-parser/src/maskfile.rs:29
Functionnode
()
mask/tests/supported_runtimes_test.rs:134
Functionoutputs_the_maskfile_structure_as_json
()
mask/tests/introspect_test.rs:7
Functionparses_the_maskfile_structure
()
mask-parser/src/parser.rs:290
Functionphp
()
mask/tests/supported_runtimes_test.rs:195
Functionpositional_arguments
()
mask/tests/subcommands_test.rs:8
Functionpositional_arguments
()
mask/tests/arguments_and_flags_test.rs:9
Functionpowershell
()
mask/tests/supported_runtimes_test.rs:31
Functionproperly_runs_when_required_option_is_supplied
()
mask/tests/arguments_and_flags_test.rs:381
Functionproperly_validates_decimal_numbers
()
mask/tests/arguments_and_flags_test.rs:247
Functionproperly_validates_flag_with_type_number
()
mask/tests/arguments_and_flags_test.rs:184
Functionproperly_validates_negative_numbers
()
mask/tests/arguments_and_flags_test.rs:215
Functionpython
()
mask/tests/supported_runtimes_test.rs:154
Functionreads_root_maskfile
()
mask/src/loader.rs:24
Functionruby
()
mask/tests/supported_runtimes_test.rs:175
Functionset_to_the_correct_value
()
mask/tests/env_vars_test.rs:51
Functionsh
()
mask/tests/supported_runtimes_test.rs:95
Functionshows_the_correct_version_for_the_root_command
()
mask/tests/arguments_and_flags_test.rs:341
Functionspecifying_a_maskfile_in_a_different_dir
()
mask/tests/integration_test.rs:10
Functionsubcommand_works
()
mask/tests/subcommands_test.rs:114
Functionsubcommands_above_level_1_work
()
mask/tests/subcommands_test.rs:138
Functionsubcommands_below_level_1_are_ignored
()
mask/tests/subcommands_test.rs:158
Functionworks_from_any_dir
()
mask/tests/env_vars_test.rs:13