Skip to content

Conversation

@jonsequitur
Copy link
Contributor

No description provided.

@jonsequitur jonsequitur requested a review from Keboo November 9, 2021 21:42
@jonsequitur jonsequitur marked this pull request as ready for review November 11, 2021 19:05
Copy link
Member

@vlada-shubina vlada-shubina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for keeping me informed, looks good.
Not sure if descriptor/description rename makes it better, however just a personal taste.

/// Initializes a new instance of the CommandLineConfiguration class.
/// </summary>
/// <param name="command">The symbol to parse.</param>
/// <param name="command">The root command for the parser.</param>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a question: should it be always root command? or can it be also subcommand? (if subcommand is reparsed)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It can be either RootCommand or Command. You can build a parser just for subtree of your command hierarchy.

@jonsequitur jonsequitur merged commit 5eca654 into dotnet:main Nov 11, 2021
@jonsequitur jonsequitur added this to the 2.0 GA milestone Dec 5, 2021
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.

2 participants