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

opm index -- refactor global flags support #995

Open
grokspawn opened this issue Jul 26, 2022 · 0 comments
Open

opm index -- refactor global flags support #995

grokspawn opened this issue Jul 26, 2022 · 0 comments

Comments

@grokspawn
Copy link
Contributor

in dialog #986 (comment) we learned that opm index sets help/usage support for 'global flags' as persistent cobra flags.

Since opm index is to be deprecated because it only handles a deprecated SQLite index format, we need to refactor the flags support.

Instead of using persistent flags set at the opm root, we need to have each subcommand locally implement support for the use-http and skip-tls-verify.

Preliminary file list (under cmd hierarchy):

  • ./opm/internal/util/util.go
  • ./opm/render/cmd.go
  • ./opm/registry/add.go
  • ./opm/index/cmd.go
  • ./opm/alpha/veneer/basic.go
  • ./opm/alpha/bundle/unpack.go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant