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

Missing flags in cmd "ocm componentarchive transfer" #66

Closed
jschicktanz opened this issue Aug 22, 2022 · 3 comments
Closed

Missing flags in cmd "ocm componentarchive transfer" #66

jschicktanz opened this issue Aug 22, 2022 · 3 comments
Labels

Comments

@jschicktanz
Copy link
Contributor

What happened:
I executed ocm componentarchive transfer --help and expected various cmd flags to appear (e.g. closure option, lookup option (see #65), ...). However I got the following output:

ocm componentarchive transfer — Transfer Component Archive To Some Component Repository

Synopsis:
  ocm componentarchive transfer [<options>]  <source> <target>

Flags:
  -h, --help          help for transfer
  -t, --type string   archive format (default "directory")

Description:

  Transfer a component archive to some component repository. This might
  be a CTF Archive or a regular repository.
  If the type CTF is specified the target must already exist, if CTF flavor
  is specified it will be created if it does not exist.

  Besides those explicitly known types a complete repository spec might be configured,
  either via inline argument or command configuration file and name.

  The «--type» option accepts a file format for the
  target archive to use. The following formats are supported:
  - directory
  - tar
  - tgz
  The default format is «directory».

What you expected to happen:
Expected various cmd flags to appear (e.g. closure option, lookup option (see #65), ...)

How to reproduce it (as minimally and precisely as possible):
Execute ocm componentarchive transfer --help

Anything else we need to know:

Environment:

@jmickey
Copy link
Contributor

jmickey commented Feb 16, 2023

Hi @jschicktanz,

It looks like #65 the flags were added the ocm transfer command, not the ocm componentarchive transfer command. So rather than being a bug, the options simply don't exist on the command.

Should I add them?

@ikhandamirov
Copy link
Contributor

Hi @jmickey, #65 was provided as an example of the expected output.
I'm not sure, if Johannes is available. @jensh007, @mandelsoft, could you please check the question and come back to Josh.

@jensh007
Copy link
Contributor

jensh007 commented Jun 2, 2023

Checked the mentioned command and the list of flags is complete. Seems to have been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants