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 optional command parameters #205

Open
ikkentim opened this issue Apr 29, 2021 · 2 comments
Open

Support optional command parameters #205

ikkentim opened this issue Apr 29, 2021 · 2 comments
Assignees
Labels
concept Help and further investigation on the proposal is needed.
Projects

Comments

@ikkentim
Copy link

I'd like to have an optional parameter for a command.

In the usage message this might look like: dotnet MyApp.dll mycommand <RequiredParameter> <(OptionalParameter)>.

Would it be possible to add this?

@ikkentim ikkentim added the concept Help and further investigation on the proposal is needed. label Apr 29, 2021
@adambajguz
Copy link
Owner

Yes, you can write a custom help writer, but I will think about this concept maybe <RequiredParameter> <(OptionalParameter)> should be in help by default.

@adambajguz adambajguz added this to To analyse in Concepts via automation Apr 29, 2021
@vladimir-kovalyuk
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
concept Help and further investigation on the proposal is needed.
Projects
Concepts
  
To analyse
Development

No branches or pull requests

3 participants