<#430 Hide global flags when printing help> Pull r...
# flyte-github
a
#430 Hide global flags when printing help Pull request opened by chaohengstudent TL;DR Hide global flags when printing help in order to keep useful info in the screen. Type ☐ Bug Fix ☑︎ Feature ☐ Plugin Are all requirements met? ☑︎ Code completed ☑︎ Smoke tested ☐ Unit tests added ☐ Code documentation added ☐ Any pending items have an associated Issue Complete description Override the usage template of cobra with deleting
Global Flags
section. Now
flytectl <command> --help
will only show the flags for this particular command. All flags can still be shown when execute
flytectl --help
in
Flags
section. Tracking Issue flyteorg/flyte#3352 Follow-up issue NA flyteorg/flytectl GitHub Actions: Generate documentation GitHub Actions: Goreleaser GitHub Actions: Bump Version GitHub Actions: Check Go Gennerate / Go Generate ✅ 8 other checks have passed 8/12 successful checks