File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -183,6 +183,8 @@ affects the bash completion
183183* ** SODA_PARAMETER_NAME_LENGTH** - The max length to format the parameter names in the help usage
184184* ** SODA_PARAMETER_NAMESPACE_LENGTH** - The max length to format the parameter namespace in the help
185185usage
186+ * ** SODA_DEFAULT_RESOURCE_DIR** - the default directory to search for resources (defaults to
187+ * resources* )
186188
187189Remember that parameters are converted to upper case, so you can call ` soda --log-file=path/to/file `
188190and the * $LOG_FILE* variable will be set to that value.
Original file line number Diff line number Diff line change 2323
2424SODA_NAMESPACE_DELIMITER=.
2525SODA_TASK_BASH_COMPLETION_SUFFIX=_bash_completion
26+ SODA_DEFAULT_RESOURCE_DIR=resources
Original file line number Diff line number Diff line change @@ -296,7 +296,7 @@ namespaces() {
296296
297297# Returns a resource based on the current namespace.
298298resource () {
299- local folder=" resources "
299+ local folder=" $SODA_DEFAULT_RESOURCE_DIR "
300300 local filename=" "
301301 if [[ $# == 1 ]]; then
302302 filename=" $1 "
You can’t perform that action at this time.
0 commit comments