Project

General

Profile

Actions

Bug #13636

closed

unable to remove 'version' parameter from command

Added by Chris Duryee almost 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hammer
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

In the content view version command, there is a '--version' parameter that is unable to be removed via 'without':


Usage:
    hammer content-view version export [OPTIONS]

Options:
 --export-to-iso EXPORT_TO_ISO Export to ISO format
                               One of true/false, yes/no, 1/0.
 --id ID                       Content view version identifier
 --iso-mb-size ISO_MB_SIZE     maximum size of each ISO in MB
                               One of true/false, yes/no, 1/0.
 --since SINCE                 Optional date of last export (ex: 2010-01-01T12:00:00Z)
 --version VERSION             Content view version number
 -h, --help                    print help

Ideally, we would be able to strip the 'version' argument out via build_options.

Actions #1

Updated by Chris Duryee almost 9 years ago

tom fixed this in https://github.com/Katello/hammer-cli-katello/pull/346/

He added:

      build_options do |o|
         o.expand(:all).including(:environments, :content_views, :organizations)
      end

This added "content view name" and other fields that made "version" make sense.

Actions #2

Updated by Adam Price almost 9 years ago

  • Pull request https://github.com/Katello/hammer-cli-katello/pull/346 added
Actions #3

Updated by Adam Price almost 9 years ago

  • Status changed from New to Closed
Actions #4

Updated by Tomáš Strachota over 8 years ago

  • Project changed from Hammer CLI to Katello
  • Category changed from 74 to Hammer
  • Pull request deleted (https://github.com/Katello/hammer-cli-katello/pull/346)
Actions #5

Updated by Justin Sherrill over 8 years ago

  • Translation missing: en.field_release set to 162
Actions

Also available in: Atom PDF