urfave / cli

A simple, fast, and fun package for building command line apps in Go
https://cli.urfave.org
MIT License
21.89k stars 1.69k forks source link

Fix:(issue_1916) Fix subcommand flag completion #1918

Closed dearchap closed 3 weeks ago

dearchap commented 3 weeks ago

What type of PR is this?

(REQUIRED)

What this PR does / why we need it:

(REQUIRED)

Which issue(s) this PR fixes:

(REQUIRED)

Fixes #1916

Special notes for your reviewer:

(fill-in or delete this section)

Removed unnecessary redirection for DefaultCompleteWithFlags function

Testing

(fill-in or delete this section)

go test -run=TestCompletionSubcommand

Release Notes

(REQUIRED)