Red Hat Bugzilla – Bug 1316986
hammer-cli-csv - add hidden attribute to unsupported sub-commands and options
Last modified: 2016-07-27 07:24:01 EDT
As a first step to productizing hammer-cli-csv, options and sub-commands that are not fully complete or ready to be supported need to be removed or otherwise hidden.
Created from redmine issue http://projects.theforeman.org/issues/14162
Upstream bug assigned to email@example.com
Upstream bug component is Uncategorized
Moving to POST since upstream bug http://projects.theforeman.org/issues/14162 has been closed
Applied in changeset commit:hammer-cli-csv|677d03948de8bcc6cef14afe5683d90008c3e45c.
Can you provide some rough verification advice/steps?
"hammer csv --help" should show only a reduced set of subcommands: import, export, and settings. Other options are hidden though still accessible if known.
Verified in Satellite 6.2 beta Snap 20.2
[root@rhsm-qe-1 ~]# hammer csv --help
hammer csv [OPTIONS] SUBCOMMAND [ARG] ...
[ARG] ... subcommand arguments
export export into directory
import import by directory
settings import or export settings
-h, --help print help
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.