Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ramkishor-ch opened this issue Jul 14, 2023 · 0 comments · Fixed by #2077
Closed

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

ramkishor-ch opened this issue Jul 14, 2023 · 0 comments · Fixed by #2077
Assignees
Labels

Comments

@ramkishor-ch
Copy link
Contributor

  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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
1 participant