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

CoconaValueConverter to support FileInfo and DirectoryInfo #115

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

gleblebedev
Copy link
Contributor

@gleblebedev gleblebedev commented Jan 3, 2024

System.CommandLine supports FileInfo and DirectoryInfo as arguments. It seems to be useful and this is a feature I'm missing in Cocona.

I'm also was considering to make a ICoconaValueConverter interface and look up for converter in DI container but it seems to be too much for the change.

@gleblebedev
Copy link
Contributor Author

@mayuki may I ask you to review the PR, please?

@mayuki
Copy link
Owner

mayuki commented Jan 9, 2024

Looks good to me. Thanks!

@mayuki mayuki merged commit 7eb829b into mayuki:master Jan 9, 2024
3 checks passed
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.

None yet

2 participants