Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/jacobdeichert/mask
/ functions
Functions
69 in github.com/jacobdeichert/mask
⨍
Functions
69
◇
Types & classes
6
↓ 46 callers
Function
run_mask
(maskfile: &PathBuf)
mask/tests/common/mod.rs:37
↓ 37 callers
Function
maskfile
(content: &'static str)
mask/tests/common/mod.rs:26
↓ 31 callers
Method
command
(&mut self, c: &'static str)
mask/tests/common/mod.rs:12
↓ 13 callers
Method
cli
(&mut self, arguments: &'static str)
mask/tests/common/mod.rs:17
↓ 3 callers
Function
read_maskfile
(maskfile: &Path)
mask/src/loader.rs:5
↓ 2 callers
Method
build
(mut self)
mask-parser/src/maskfile.rs:41
↓ 2 callers
Function
parse
(maskfile_contents: String)
mask-parser/src/parser.rs:5
↓ 1 callers
Function
add_flag_variables
(mut child: process::Command, cmd: &Command)
mask/src/executor.rs:102
↓ 1 callers
Function
add_utility_variables
Add some useful environment variables that scripts can use
mask/src/executor.rs:73
↓ 1 callers
Function
build_subcommands
( mut cli_app: App<'a, 'b>, subcommands: &'a Vec<Command>, )
mask/src/main.rs:112
↓ 1 callers
Function
create_markdown_parser
(maskfile_contents: &'a String)
mask-parser/src/parser.rs:169
↓ 1 callers
Function
custom_maskfile_path_arg
Load a maskfile from another directory
mask/src/main.rs:93
↓ 1 callers
Function
execute_command
(cmd: Command, maskfile_path: String)
mask/src/executor.rs:10
↓ 1 callers
Function
find_command
(matches: &ArgMatches, subcommands: &Vec<Command>)
mask/src/main.rs:152
↓ 1 callers
Function
find_maskfile
()
mask/src/main.rs:51
↓ 1 callers
Function
get_command_options
(mut cmd: Command, matches: &ArgMatches)
mask/src/main.rs:171
↓ 1 callers
Function
introspect_arg
Print out the maskfile structure in json
mask/src/main.rs:105
↓ 1 callers
Function
is_introspecting
()
mask/src/main.rs:82
↓ 1 callers
Function
parse_command_name_and_required_args
(text: String)
mask-parser/src/parser.rs:227
↓ 1 callers
Function
prepare_command
(cmd: &Command)
mask/src/executor.rs:24
↓ 1 callers
Method
to_json
(&self)
mask-parser/src/maskfile.rs:12
↓ 1 callers
Function
treeify_commands
(commands: Vec<Command>)
mask-parser/src/parser.rs:178
Function
allows_entering_negative_numbers_as_flag_values
()
mask/tests/arguments_and_flags_test.rs:143
Function
allows_entering_negative_numbers_as_values
()
mask/tests/arguments_and_flags_test.rs:115
Function
bash
()
mask/tests/supported_runtimes_test.rs:115
Function
batch
()
mask/tests/supported_runtimes_test.rs:55
Function
cmd
()
mask/tests/supported_runtimes_test.rs:75
Function
errors_for_non_existent_maskfile
()
mask/src/loader.rs:40
Function
errors_when_no_lang_code_is_specified
()
mask/tests/supported_runtimes_test.rs:8
Function
errors_when_val_is_not_supplied
()
mask/tests/arguments_and_flags_test.rs:413
Function
errors_when_value_is_not_a_number
()
mask/tests/arguments_and_flags_test.rs:278
Function
exits_with_error1
()
mask/tests/integration_test.rs:144
Function
exits_with_error2
()
mask/tests/integration_test.rs:167
Function
exits_with_error_for_any_other_command
()
mask/tests/integration_test.rs:63
Function
exits_with_error_for_help
()
mask/tests/integration_test.rs:78
Function
exits_with_error_for_version
()
mask/tests/integration_test.rs:91
Function
exits_with_error_when_it_has_no_script_lang_code
()
mask/tests/subcommands_test.rs:88
Function
exits_with_error_when_missing_subcommand
()
mask/tests/subcommands_test.rs:58
Function
exits_with_error_when_subcommand_has_version_flag
()
mask/tests/arguments_and_flags_test.rs:352
Function
exits_with_success
()
mask/tests/integration_test.rs:121
Function
exits_without_error_for_help
()
mask/tests/integration_test.rs:43
Function
exits_without_error_for_version
()
mask/tests/integration_test.rs:53
Function
ignores_the_option_if_not_supplied
()
mask/tests/arguments_and_flags_test.rs:309
Function
logs_warning_about_missing_maskfile
()
mask/tests/integration_test.rs:31
Function
main
()
mask/src/main.rs:10
Function
named_flags
()
mask/tests/arguments_and_flags_test.rs:51
Method
new
(level: u8)
mask-parser/src/maskfile.rs:29
Function
node
()
mask/tests/supported_runtimes_test.rs:134
Function
outputs_the_maskfile_structure_as_json
()
mask/tests/introspect_test.rs:7
Function
parses_the_maskfile_structure
()
mask-parser/src/parser.rs:290
Function
php
()
mask/tests/supported_runtimes_test.rs:195
Function
positional_arguments
()
mask/tests/subcommands_test.rs:8
Function
positional_arguments
()
mask/tests/arguments_and_flags_test.rs:9
Function
powershell
()
mask/tests/supported_runtimes_test.rs:31
Function
properly_runs_when_required_option_is_supplied
()
mask/tests/arguments_and_flags_test.rs:381
Function
properly_validates_decimal_numbers
()
mask/tests/arguments_and_flags_test.rs:247
Function
properly_validates_flag_with_type_number
()
mask/tests/arguments_and_flags_test.rs:184
Function
properly_validates_negative_numbers
()
mask/tests/arguments_and_flags_test.rs:215
Function
python
()
mask/tests/supported_runtimes_test.rs:154
Function
reads_root_maskfile
()
mask/src/loader.rs:24
Function
ruby
()
mask/tests/supported_runtimes_test.rs:175
Function
set_to_the_correct_value
()
mask/tests/env_vars_test.rs:51
Function
sh
()
mask/tests/supported_runtimes_test.rs:95
Function
shows_the_correct_version_for_the_root_command
()
mask/tests/arguments_and_flags_test.rs:341
Function
specifying_a_maskfile_in_a_different_dir
()
mask/tests/integration_test.rs:10
Function
subcommand_works
()
mask/tests/subcommands_test.rs:114
Function
subcommands_above_level_1_work
()
mask/tests/subcommands_test.rs:138
Function
subcommands_below_level_1_are_ignored
()
mask/tests/subcommands_test.rs:158
Function
works_from_any_dir
()
mask/tests/env_vars_test.rs:13