Bug 1316986

Summary: hammer-cli-csv - add hidden attribute to unsupported sub-commands and options
Product: Red Hat Satellite Reporter: Tom McKay <tomckay>
Component: UncategorizedAssignee: Tom McKay <tomckay>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bbuckingham, cwelton, ehelms, jcallaha, tomckay
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/14162
Fixed In Version: rubygem-hammer_cli_csv- Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 11:24:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Tom McKay 2016-03-11 16:16:48 UTC
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.

Comment 1 Tom McKay 2016-03-11 16:16:50 UTC
Created from redmine issue http://projects.theforeman.org/issues/14162

Comment 2 Tom McKay 2016-03-11 16:16:54 UTC
Upstream bug assigned to tomckay@redhat.com

Comment 4 Bryan Kearney 2016-04-11 16:12:28 UTC
Upstream bug component is Uncategorized

Comment 5 Bryan Kearney 2016-04-11 18:12:03 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/14162 has been closed
Thomas McKay
Applied in changeset commit:hammer-cli-csv|677d03948de8bcc6cef14afe5683d90008c3e45c.

Comment 6 jcallaha 2016-06-16 15:57:35 UTC
Can you provide some rough verification advice/steps?

Comment 7 Tom McKay 2016-07-18 17:27:54 UTC
"hammer csv --help" should show only a reduced set of subcommands: import, export, and settings. Other options are hidden though still accessible if known.

Comment 8 jcallaha 2016-07-18 17:41:13 UTC
Verified in Satellite 6.2 beta Snap 20.2

[root@rhsm-qe-1 ~]# hammer csv --help
    hammer csv [OPTIONS] SUBCOMMAND [ARG] ...

 SUBCOMMAND                    subcommand
 [ARG] ...                     subcommand arguments

 export                        export into directory
 import                        import by directory
 settings                      import or export settings

 -h, --help                    print help

Comment 9 Bryan Kearney 2016-07-27 11:24:01 UTC
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.