Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FlyteCTL Feature] Hide global flags when printing help #3352

Closed
2 tasks done
Tracked by #4064
eapolinario opened this issue Feb 16, 2023 · 4 comments
Closed
2 tasks done
Tracked by #4064

[FlyteCTL Feature] Hide global flags when printing help #3352

eapolinario opened this issue Feb 16, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request flytectl Issues related to flytectl -Flytes CLI good first issue Good for newcomers hacktoberfest
Milestone

Comments

@eapolinario
Copy link
Contributor

Describe the feature/command for FlyteCTL

The output of flytectl <command> --help includes all global flags, which ends up pushing the useful info about the command too far up in the screen.

Provide a possible output or UX example

Global flags should be hidden and only the available flags for a particular command should show up, including all flags in case we run flytectl --help.

This is possible to be done if we override cobra's usage template.

https://github.com/unionai/cloud/pull/1818 is an implementation of this idea for Cloud.

Are you sure this issue hasn't been raised already?

  • Yes

Have you read the Code of Conduct?

  • Yes
@eapolinario eapolinario added enhancement New feature or request untriaged This issues has not yet been looked at by the Maintainers flytectl Issues related to flytectl -Flytes CLI labels Feb 16, 2023
@eapolinario eapolinario added this to the 1.5.0 milestone Mar 4, 2023
@eapolinario eapolinario added good first issue Good for newcomers and removed untriaged This issues has not yet been looked at by the Maintainers labels Mar 6, 2023
@eapolinario eapolinario modified the milestones: 1.5.0, 2023 Q1 Backlog Mar 13, 2023
@Kota-Karthik
Copy link

Hello @samhita-alla
I am interested in doing this issue
so kindly assign me this
Thank You : )

@soumya-dash3
Copy link

Hello @samhita-alla , can this issue be assigned to me please?

@samhita-alla
Copy link
Contributor

samhita-alla commented Oct 4, 2023

We'll give preference to the contributor who submits the first PR.

@chaohengstudent
Copy link
Contributor

Hi @samhita-alla , I have created an PR for this issue.
Wonder if is possible to assigned this me, thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request flytectl Issues related to flytectl -Flytes CLI good first issue Good for newcomers hacktoberfest
Projects
None yet
Development

No branches or pull requests

5 participants