You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no output when the user types flux get sources by itself. This is jarring because users who didn't realize sources has only subcommands have to guess or find the help in order to discover that flux get sources git is what they meant.
My intuition is, this should do the same thing as flux get sources all because it's pretty clear what the user wants IMHO
We discussed it in slack though, and the consensus seems to be that it should print the help instead. If we overload the default to flux get sources all it will make it more difficult for users to discover the subcommands.
Steps to reproduce
UX issue described above
Expected behavior
It should not have zero output, it should perhaps exit 1 and print the help.
Alternatively, it could have the same effect as flux get sources all or flux get sources git.
Screenshots and recordings
No response
OS / Distro
Any
Flux version
v0.25.3
Flux check
N/A
Git provider
No response
Container Registry provider
No response
Additional context
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
It seems that flux get already outputs the help, so it definitely makes sense to be consistent that flux get sources output the help, it should behave the same way.
Describe the bug
There is no output when the user types
flux get sources
by itself. This is jarring because users who didn't realizesources
has only subcommands have to guess or find the help in order to discover thatflux get sources git
is what they meant.My intuition is, this should do the same thing as
flux get sources all
because it's pretty clear what the user wants IMHOWe discussed it in slack though, and the consensus seems to be that it should print the help instead. If we overload the default to
flux get sources all
it will make it more difficult for users to discover the subcommands.Steps to reproduce
UX issue described above
Expected behavior
It should not have zero output, it should perhaps exit 1 and print the help.
Alternatively, it could have the same effect as
flux get sources all
orflux get sources git
.Screenshots and recordings
No response
OS / Distro
Any
Flux version
v0.25.3
Flux check
N/A
Git provider
No response
Container Registry provider
No response
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: