It imports a Noun.psd1 file when called from a Verb-Noun command, and sets variables for the parameters which are configured in the settings file but weren't passed on the command-line, basically allowing you to create commands which read configuration files from the current working directory.
The question is: should it recurse up the parent directories looking for noun.psd1 files that might define values that aren't already defined?
First version of this function:
It imports a
Noun.psd1
file when called from aVerb-Noun
command, and sets variables for the parameters which are configured in the settings file but weren't passed on the command-line, basically allowing you to create commands which read configuration files from the current working directory.The question is: should it recurse up the parent directories looking for
noun.psd1
files that might define values that aren't already defined?