Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support a --file option for dsc config * commands #130

Closed
michaeltlombardi opened this issue Aug 3, 2023 · 1 comment · Fixed by #217
Closed

Support a --file option for dsc config * commands #130

michaeltlombardi opened this issue Aug 3, 2023 · 1 comment · Fixed by #217
Labels
Issue-Enhancement The issue is a feature or idea

Comments

@michaeltlombardi
Copy link
Collaborator

Summary of the new feature / enhancement

As a user working with DSC Configuration documents, I want to be able to specify the path to a configuration document saved as a file so that I can point DSC to saved files instead of always piping/redirecting the contents of a document to DSC.

For example:

dsc config test --file ./app.dsc.config.yaml
dsc config test -f ../security/baseline.dsc.config.yaml

Proposed technical implementation details (optional)

No response

@michaeltlombardi michaeltlombardi added the Issue-Enhancement The issue is a feature or idea label Aug 30, 2023
@SteveL-MSFT
Copy link
Member

I'll add both -input and -inputFile parameters. These will be global, so it'll be before the subcommand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Enhancement The issue is a feature or idea
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants