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

skaffold inspect command does not show all supported flags for its subcommands #6562

Open
aaron-prindle opened this issue Sep 2, 2021 · 2 comments
Labels
area/cli area/docs area/inspect bugbash/q4-2022 Issues related to Skaffold Bugbash Q4 2022 help wanted We would love to have this done, but don't have the bandwidth, need help from contributors kind/documentation kind/friction Issues causing user pain that do not have a workaround priority/p3 agreed that this would be good to have, but no one is available at the moment.

Comments

@aaron-prindle
Copy link
Contributor

Currently if you attempt to list flags for skaffold inspect, the inherited flags from the root command are not shown. UX-wise I believe this is confusing as it would be hard to find all of the supported flags for the command. Below is an example showing this:

aprindle@aprindle ~/skaffold  [inspect-tests-add-test-type]$ skaff inspect build-env list --help
Print the list of active build environments.

Examples:
  # Get list of target build environments with activated profiles p1 and p2
  skaffold inspect build-env list -p p1,p2 --format json

Options:
  -p, --profile=[]: Profile names to activate

Usage:
  skaffold inspect build-env list [flags] [options]

Use "skaffold options" for a list of global command-line options (applies to all commands).
aprindle@aprindle ~/skaffold  [inspect-tests-add-test-type]$ skaffold inspect --help
Helper commands for Cloud Code IDEs to interact with and modify skaffold configuration files.

Available Commands:
  build-env   Interact with skaffold build environment definitions.
  modules     Interact with configuration modules
  profiles    Interact with configuration profiles

Use "skaffold <command> --help" for more information about a given command.
@aaron-prindle aaron-prindle added priority/p3 agreed that this would be good to have, but no one is available at the moment. area/cli area/inspect labels Sep 2, 2021
@aaron-prindle
Copy link
Contributor Author

@gsquared94

@aaron-prindle
Copy link
Contributor Author

aaron-prindle commented Sep 2, 2021

Not sure if this is an issue for other/all skaffold commands, only noticed the issue for skaffold inspect sub-commands

@nkubala nkubala added kind/documentation kind/friction Issues causing user pain that do not have a workaround labels Sep 16, 2021
@gsquared94 gsquared94 added the bugbash/q4-2022 Issues related to Skaffold Bugbash Q4 2022 label Dec 7, 2022
@aaron-prindle aaron-prindle added the help wanted We would love to have this done, but don't have the bandwidth, need help from contributors label Jan 4, 2023
@gsquared94 gsquared94 removed their assignment Apr 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli area/docs area/inspect bugbash/q4-2022 Issues related to Skaffold Bugbash Q4 2022 help wanted We would love to have this done, but don't have the bandwidth, need help from contributors kind/documentation kind/friction Issues causing user pain that do not have a workaround priority/p3 agreed that this would be good to have, but no one is available at the moment.
Projects
None yet
Development

No branches or pull requests

4 participants