Project

General

Profile

Actions

Bug #4404

closed

Rename lifecycle-environment to lifecycle_environment for consistency

Added by Og Maciel about 10 years ago. Updated almost 6 years ago.

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

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 1 (0 open1 closed)

Related to Hammer CLI - Bug #4291: Commands should use hyphens instead of underscoresDuplicate02/06/2014Actions
Actions #1

Updated by Dominic Cleal about 10 years ago

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

Updated by Dominic Cleal about 10 years ago

  • Status changed from New to Rejected

Going the other way... #4291 :)

Actions #3

Updated by Eric Helms almost 10 years ago

  • Triaged set to Yes
Actions #4

Updated by Eric Helms over 9 years ago

  • translation missing: en.field_release set to 13
Actions #5

Updated by Eric Helms about 9 years ago

  • translation missing: en.field_release deleted (13)
Actions #6

Updated by Eric Helms almost 8 years ago

  • translation missing: en.field_release set to 166
Actions

Also available in: Atom PDF