dotnet / dotnet/command-line-api

Should Commands have Ancestors

Open
#1,659 4 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

Similar to Children, it seems like Commands could also have Ancestors. Unless there is a better approach, I have to scan each Command's Parents (and each one of their Parents and so on) until I find the one that includes a GlobalOption needed.

Thoughts?

Thx

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.