You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(wild generalizations warning) The Context struct exists for reasons mostly related to the use of stdlib flag and has a concept of "lineage" that forms a tree with other Context nodes. I would like to see this lineage relationship move to Command given the existence of .Commands for traversing outward, and for Command to be the source of truth for values that are fetched via the type-specific flag accessor functions like .String(string) string, .Int(string) int, .Bool(string) bool.
The text was updated successfully, but these errors were encountered:
(wild generalizations warning) The
Context
struct exists for reasons mostly related to the use of stdlibflag
and has a concept of "lineage" that forms a tree with otherContext
nodes. I would like to see this lineage relationship move toCommand
given the existence of.Commands
for traversing outward, and forCommand
to be the source of truth for values that are fetched via the type-specific flag accessor functions like.String(string) string
,.Int(string) int
,.Bool(string) bool
.The text was updated successfully, but these errors were encountered: