Bug 1316986 - hammer-cli-csv - add hidden attribute to unsupported sub-commands and options
Summary: hammer-cli-csv - add hidden attribute to unsupported sub-commands and options
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Uncategorized
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Tom McKay
QA Contact: jcallaha
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-11 16:16 UTC by Tom McKay
Modified: 2019-09-25 21:17 UTC (History)
5 users (show)

Fixed In Version: rubygem-hammer_cli_csv-2.0.0.1-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-27 11:24:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 14162 0 Normal Closed hammer-cli-csv - add hidden attribute to unsupported sub-commands and options 2021-01-06 10:44:10 UTC

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

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
Usage:
    hammer csv [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    subcommand
 [ARG] ...                     subcommand arguments

Subcommands:
 export                        export into directory
 import                        import by directory
 settings                      import or export settings

Options:
 -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.

https://access.redhat.com/errata/RHBA-2016:1501


Note You need to log in before you can comment on or make changes to this bug.