Bug #7422
closed[RFE] Allow --label when creating environments from the CLI
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:
Updated by Eric Helms over 10 years ago
- Difficulty set to easy
- Triaged changed from No to Yes
Updated by The Foreman Bot over 10 years ago
- Status changed from New to Ready For Testing
- Target version set to 56
- Pull request https://github.com/Katello/katello/pull/4665 added
- Pull request deleted (
)
Updated by Anonymous over 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|9dae751e02c771d7cf5bdefafdcbeaf91d092de7.
Updated by Eric Helms about 10 years ago
- Translation missing: en.field_release set to 14