dotnet / dotnet/command-line-api

How do I get the "raw command text" the user typed?

Open
#1,818 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
3.7k
Forks
428
PR merge metrics
No merged PRs in 30d

Description

From the `InvocationContext` class, is there a way to get the command line the user typed?
If the user typed `joba add --param 1` and the `joba` command requires something in the system, I would like to show a nice error message: `The command 'joba add --param 1' requires xyz`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.