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

Change how to pass STDIN input via --file, rename other args #601

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

SteveL-MSFT
Copy link
Member

@SteveL-MSFT SteveL-MSFT commented Nov 26, 2024

PR Summary

  • Remove automatic reading of STDIN as it can block in environments that redirect STDIN but never send input like ADO Pipelines
  • Use convention --file - to indicate to read from STDIN, updated CLI help
  • Rename --format to --output-format to use -f to only mean --file, shorthand is now -o
  • Rename --document to --input to have it consistent for config and resource invocation
  • Rename --trace-format shorthand to -t
  • Lots of test changes due to the parameters change

PR Context

Fix #588

@SteveL-MSFT SteveL-MSFT added this to the 3.0-Approved milestone Nov 26, 2024
@SteveL-MSFT SteveL-MSFT marked this pull request as ready for review November 27, 2024 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DSC on Azure Pipelines Ubuntu
1 participant