Project

General

Profile

Bug #4404

Rename lifecycle-environment to lifecycle_environment for consistency

Added by Og Maciel over 8 years ago. Updated almost 4 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Hammer
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

All hammer CLI subcommands that have names with two or more words (e.g partition_table) are written with an underscore, but lifecycle-environment has a dash. Could we change it so that it uses an underscore like all other CLI subcommands?

# hammer
Usage:
    hammer [OPTIONS] SUBCOMMAND [ARG] ...

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

Subcommands:
    shell                         Interactive shell
    global_parameter              Manipulate global parameters.
    architecture                  Manipulate architectures.
    compute_resource              Manipulate compute resources.
    domain                        Manipulate domains.
    sc_param                      Manipulate smart class parameters.
    environment                   Manipulate environments.
    fact                          Search facts.
    report                        Browse and read reports.
    puppet_class                  Search puppet modules.
    host                          Manipulate hosts.
    hostgroup                     Manipulate hostgroups.
    location                      Manipulate locations.
    medium                        Manipulate installation media.
    model                         Manipulate hardware models.
    os                            Manipulate operating system.
    partition_table               Manipulate partition tables.
    proxy                         Manipulate smart proxies.
    subnet                        Manipulate subnets.
    template                      Manipulate config templates.
    user                          Manipulate users.
    subscription                  Manipulate subscriptions.
    systemgroup                   Manipulate system groups
    lifecycle-environment         manipulate lifecycle_environments on the server
    gpg                           manipulate GPG Key actions on the server
    product                       Manipulate products.
    organization                  Manipulate organizations
    ping                          get the status of the server
    system                        manipulate systems on the server
    provider                      Manipulate providers

Related issues

Related to Hammer CLI - Bug #4291: Commands should use hyphens instead of underscoresDuplicate2014-02-06

History

#1 Updated by Dominic Cleal over 8 years ago

  • Related to Bug #4291: Commands should use hyphens instead of underscores added

#2 Updated by Dominic Cleal over 8 years ago

  • Status changed from New to Rejected

Going the other way... #4291 :)

#3 Updated by Eric Helms about 8 years ago

  • Triaged set to Yes

#4 Updated by Eric Helms almost 8 years ago

  • Legacy Backlogs Release (now unused) set to 13

#5 Updated by Eric Helms over 7 years ago

  • Legacy Backlogs Release (now unused) deleted (13)

#6 Updated by Eric Helms almost 6 years ago

  • Legacy Backlogs Release (now unused) set to 166

Also available in: Atom PDF