Skip to content

Sub features were missing in slcli hardware cancel, slcli hardware create #2035

@ramkishor-ch

Description

@ramkishor-ch
  1. slcli hardware cancel
    Options: --force was missing, please add it.
    Options:
    -f, --force Force operation without confirmation

Expected:

./slcli hardware cancel --help 
Usage: slcli hardware cancel [OPTIONS] IDENTIFIER

        Cancel a dedicated server.

┌────┬─────────────┬─────────────────────────────────────────────────────────────────────────────────────┐
│    │ identifier  │                                                                                     │
│    │ --immediate │ Cancels the server immediately (instead of on the billing anniversary)              │
│    │ --comment   │ An optional comment to add to the cancellation ticket                               │
│    │ --reason    │ An optional cancellation reason. See cancel-reasons for a list of available options │
│ -f │  --force    │         Force operation without confirmation                                  │ 
│ -h │ --help      │ Show this message and exit.                                                         │
└────┴─────────────┴─────────────────────────────────────────────────────────────────────────────────────┘
  1. slcli hardware create
    Options: --force was missing, please add it.
    Options:
    -f, --force Force operation without confirmation

Expected:

./slcli hardware create --help        
Usage: slcli hardware create [OPTIONS]

        Order/create a dedicated server.

┌────┬──────────────────┬─────────────────────────────────────────────────────────────────────────────────────┐
│ -H │ --hostname       │ Host portion of the FQDN  [required]                                                │
│ -D │ --domain         │ Domain portion of the FQDN  [required]                                              │
│ -s │ --size           │ Hardware size  [required]                                                           │
│ -o │ --os             │ OS Key value  [required]                                                            │
│ -d │ --datacenter     │ Datacenter shortname  [required]                                                    │
│    │ --port-speed     │ Port speeds. DEPRECATED, use --network                                              │
│    │ --no-public      │ Private network only. DEPRECATED, use --network.                                    │
│    │ --network        │ Network Option Key. Use instead of port-speed option                                │
│    │ --billing        │ Billing rate  [default: hourly] Choices: hourly, monthly                            │
│ -i │ --postinstall    │ Post-install script. Should be a HTTPS URL.                                         │
│    │ --test           │ Do not actually create the server                                                   │
│ -t │ --template       │ A template file that defaults the command-line options                              │
│    │ --export         │ Exports options to a template file                                                  │
│    │ --wait           │ Wait until the server is finished provisioning for up to X seconds before returning │
│    │ --router-public  │ The ID of the public ROUTER on which you want the virtual server placed             │
│    │ --router-private │ The ID of the private ROUTER on which you want the virtual server placed            │
│ -k │ --key            │ SSH keys to add to the root user (multiple occurrence permitted)                    │
│ -e │ --extra          │ Extra option Key Names (multiple occurrence permitted)                              │
│ -h │ --help           │ Show this message and exit.                                                         │
│ -f │ --force           │       Force operation without confirmation                                   │
└────┴──────────────────┴─────────────────────────────────────────────────────────────────────────────────────┘
See 'slcli server create-options' for valid options.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions