commandlineparser / commandlineparser/commandline

Default verb handling

Open
#655 6 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
C#
Stars
4.8k
Forks
478
PR merge metrics
No merged PRs in 30d

Description

What is the best way to support a default verb? Currently it seems to be no way to define some verbs and one default verb without a name.

call `tool.exe` -> default verb handling
call `tool.exe [verbname]` -> verb handling

Thanks for this great library!

Maybe it is in context the same behaviour like #652

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the two invocation forms in this issue and the related behavior in #652, then trace how named verbs are currently handled. Done means `tool.exe` selects a defined default verb while `tool.exe [verbname]` retains named-verb handling; the relevant parser entry point and tests are not identified in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.