Skip to content

Text update and option needs to added in slcli block snapshot-cancel, ./slcli block snapshot-enable #2013

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 12, 2023 · 0 comments · Fixed by #2059
Assignees
Labels

Comments

@ramkishor-ch
Copy link
Contributor

  1. slcli block snapshot-cancel
    option: -f │ --force │ Force operation without confirmation. was missing,
    please add it.

Expected:

./slcli block snapshot-cancel --help 
Usage: slcli block snapshot-cancel [OPTIONS] VOLUME_ID

        Cancel existing snapshot space for a given volume.

┌────┬─────────────┬───────────────────────────────────────────────────────────────────────────────┐
│    │ volume-id   │                                                                               │
│ -f │ --force     │   Force operation without confirmation.                                       │
│    │ --reason    │ An optional reason for cancellation.                                          │
│    │ --immediate │ Cancels the snapshot space immediately instead of on the billing anniversary. │
│ -h │ --help      │ Show this message and exit.                                                   │
└────┴─────────────┴───────────────────────────────────────────────────────────────────────────────┘
  1. ./slcli block snapshot-enable
    a. The options: --minute, --hour, --day-of-week description should be updated.
    --minute: Minute of the hour when snapshots should be taken, integer between 0 to 59.
    --hour: Hour of the day when snapshots should be taken, integer between 0 to 23.
    --day-of-week: Day of the week when snapshots should be taken, integer between 0 to 6.

Expected:

./slcli block snapshot-enable --help
Usage: slcli block snapshot-enable [OPTIONS] VOLUME_ID

        Enables snapshots for a given volume on the specified schedule.

┌────┬───────────────────┬─────────────────────────────────────────────────────────────────────────────┐
│    │ volume_id         │                                                                             │
│    │ --schedule-type   │ Snapshot schedule [INTERVAL|HOURLY|DAILY|WEEKLY].  [required]               │
│    │ --retention-count │ Number of snapshots to retain.  [required]                                  │
│    │ --minute          │ Minute of the hour when snapshots should be taken, integer between 0 to 59. │
│    │ --hour            │ Hour of the day when snapshots should be taken, integer between 0 to 23.    │
│    │ --day-of-week     │ Day of the week when snapshots should be taken, integer between 0 to 6.     │
│ -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
No open projects
Status: Done
1 participant