Run invocation features and render final reports
This commit is contained in:
@@ -28,8 +28,12 @@ func Completion(executable string) Command {
|
||||
},
|
||||
}))
|
||||
}
|
||||
for _, child := range children {
|
||||
child.record.builtin = true
|
||||
}
|
||||
command := RootGroup("completion", "Generate shell completion scripts.", children...)
|
||||
command.record.completion = true
|
||||
command.record.builtin = true
|
||||
if !validCompletionExecutable(executable) {
|
||||
return WithError(command, fmt.Errorf("unsupported completion executable basename %q", executable))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user