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

add description to dscresource struct and tablewriter for list #117

Merged
merged 2 commits into from
Aug 1, 2023
Merged

add description to dscresource struct and tablewriter for list #117

merged 2 commits into from
Aug 1, 2023

Conversation

SteveL-MSFT
Copy link
Member

PR Summary

Create tablewriter to format resource list as table
Added description to dscresource struct and get version/description from manifest

PR Context

Fix #99

@SteveL-MSFT
Copy link
Member Author

@michaeltlombardi this updates the schema for dscresource

@michaeltlombardi
Copy link
Collaborator

How does this interact with the --format option on the root command? Is table going to be a new valid option, or is this a special case for dsc resource list? If a user runs the command as dsc --format yaml resource list do they get the old/full output?

@SteveL-MSFT
Copy link
Member Author

--format overrides. table isn't an option since it won't work in other situations.

@SteveL-MSFT SteveL-MSFT merged commit 375151e into PowerShell:main Aug 1, 2023
@SteveL-MSFT SteveL-MSFT deleted the list-table branch August 1, 2023 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dsc resource list for interactive display should be table
2 participants