Skip to content
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

Example and some sub features were missing in slcli image datacenter, slcli image edit #2041

Open
ramkishor-ch opened this issue Jul 17, 2023 · 0 comments
Assignees
Labels

Comments

@ramkishor-ch
Copy link
Contributor

  1. slcli image datacenter
    a. Example was missing, please add it.
    EXAMPLE:
    sl image datacenter 12345678 --add dal05 --remove sjc03
    This command Add/Remove datacenter of an image.
    b. Options: --remove was not clearly unidentifiable, please add it.
    Options:
    --remove To remove Datacenter

Expected:

./slcli image datacenter --help
Usage: slcli image datacenter [OPTIONS] IDENTIFIER LOCATIONS...

EXAMPLE:
        slcli image datacenter 12345678 --add dal05 --remove sjc03
        This command Add/Remove datacenter of an image.

        Add/Remove datacenter of an image.

┌────┬────────────┬─────────────────────────────┐
│    │ identifier │                             │
│    │ --add      │ To add or remove Datacenter │
│    │ --remove │ To remove Datacenter │
│    │ locations  │                             │
│ -h │ --help     │ Show this message and exit. │
└────┴────────────┴─────────────────────────────┘
  1. slcli image edit
    Example was missing, please add it.

EXAMPLE:
slcli image edit 12345678 --name ubuntu16 --note testing --tag staging
This command edits an image with ID 12345678 and set its name to "ubuntu16", note to "testing", and tag to "staging".

Expected:

./slcli image edit --help  
Usage: slcli image edit [OPTIONS] IDENTIFIER

EXAMPLE: 
   slcli image edit 12345678 --name ubuntu16 --note testing --tag staging
   This command edits an image with ID 12345678 and set its name to "ubuntu16", note to "testing", and tag to "staging".

        Edit details of an image.

┌────┬────────────┬───────────────────────────────┐
│    │ identifier │                               │
│    │ --name     │ Name of the image             │
│    │ --note     │ Additional note for the image │
│    │ --tag      │ Tags for the image            │
│ -h │ --help     │ Show this message and exit.   │
└────┴────────────┴───────────────────────────────┘
  1. slcli image list
    Options: --private was missing, please add it.
    Options:
    --private Display only private images

Expected:

./slcli image list --help  
Usage: slcli image list [OPTIONS]

        List images.

┌────┬──────────┬─────────────────────────────────────────────────────────┐
│    │ --name   │ Filter on image name                                    │
│    │ --public │ Display only public images                   │
│    │ --private │ Display only private images                   │
│ -l │ --limit  │ How many results to get in one api call  [default: 100] │
│ -h │ --help   │ Show this message and exit.                             │
└────┴──────────┴─────────────────────────────────────────────────────────┘
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants