Capture and validate invocation features
This commit is contained in:
@@ -79,6 +79,8 @@ func (a *App) buildRoutingSnapshot() *routingSnapshot {
|
||||
canonical: buildCanonicalTree(a.commands),
|
||||
flagAliases: a.flagAliases,
|
||||
discoveryFlags: a.discoveryFlags,
|
||||
features: a.features,
|
||||
featureFlags: a.featureFlags,
|
||||
}
|
||||
if node := a.commands["completion"]; node != nil {
|
||||
snapshot.completion = node.command.record.completion
|
||||
|
||||
Reference in New Issue
Block a user