Project

General

Profile

Actions

Bug #7422

closed

[RFE] Allow --label when creating environments from the CLI

Added by Adam Price over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Hammer
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=883170
Description of problem:

We don't seem to expose the label attribute for environments from the cli. Could we add that to the allowed attributes when creating environments?

Version-Release number of selected component (if applicable):

  • candlepin-0.7.19-1.el6_3.noarch
  • candlepin-tomcat6-0.7.19-1.el6_3.noarch
  • elasticsearch-0.18.4-11.el6.noarch
  • katello-candlepin-cert-key-pair-1.0-1.noarch
  • katello-certs-tools-1.2.1-1h.el6_3.noarch
  • katello-cli-1.2.4-3h.el6_3.noarch
  • katello-cli-common-1.2.4-3h.el6_3.noarch
  • katello-common-1.2.6-3h.el6_3.noarch
  • katello-configure-1.2.3-1h.el6_3.noarch
  • katello-glue-candlepin-1.2.6-3h.el6_3.noarch
  • katello-headpin-1.2.6-3h.el6_3.noarch
  • katello-headpin-all-1.2.6-3h.el6_3.noarch
  • katello-selinux-1.2.1-1h.el6_3.noarch
  • thumbslug-0.0.27-1.el6_3.noarch
  • thumbslug-selinux-0.0.27-1.el6_3.noarch

How reproducible:

Steps to Reproduce:
1. headpin -u <username> -p <password> org create --name FOO
2. headpin -u <username> -p <password> environment create --org FOO --name BAR --prior Library
3.

Actual results:

Expected results:

I should be able to specify what the label should be for an environment:

1. headpin -u <username> -p <password> org create --name FOO
2. headpin -u <username> -p <password> environment create --org FOO --name BAR --label BAZ --prior Library

Additional info:

Actions

Also available in: Atom PDF