PoshCode / Configuration

A module to help other modules have settings
MIT License
176 stars 27 forks source link

Add Import-ParameterConfiguration #34

Closed Jaykul closed 3 years ago

Jaykul commented 5 years ago

First version of this function:

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?

Jaykul commented 3 years ago

This is obsolete now