-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Pablo COVES
committed
Jul 15, 2022
1 parent
6de6499
commit b839427
Showing
1 changed file
with
18 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,39 @@ | ||
# Cleanup | ||
|
||
[[_TOC_]] | ||
## Build | ||
|
||
``` | ||
cargo build | ||
``` | ||
|
||
## Usage | ||
## Install | ||
|
||
``` | ||
cargo install --path . | ||
``` | ||
|
||
### Help | ||
|
||
``` | ||
❯ cargo run -- -h | ||
cleanup 0.5.0 | ||
Pablo COVES <[email protected]> | ||
Search for Image's or orphan Snapshots/Volume to delete | ||
USAGE: | ||
cleanup [OPTIONS] <SUBCOMMAND> | ||
OPTIONS: | ||
--apply Delete Images/Snapshots | ||
-h, --help Print help information | ||
-p, --profile <PROFILE> [default: default] | ||
-r, --region <REGION> [default: eu-west-1] | ||
-V, --version Print version information | ||
-h, --help Print help information | ||
-p, --profile <PROFILE> [default: default] | ||
-r, --region <REGION> [default: eu-west-1] | ||
-V, --version Print version information | ||
SUBCOMMANDS: | ||
help Print this message or the help of the given subcommand(s) | ||
image Search for unused images to delete | ||
read Read previously generated resource list to delete | ||
snapshot Search for orphaned snaphots to delete | ||
volume Search for orphaned volumes to delete | ||
``` | ||
## Build | ||
|
||
``` | ||
cargo build | ||
``` | ||
|
||
## Install | ||
|
||
``` | ||
cargo install --path . | ||
``` |