Update README.md

This commit is contained in:
Antoine Langlois 2022-03-06 14:35:15 +01:00 committed by GitHub
parent 041072bf0a
commit b9adfbf967
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 19 deletions

View File

@ -34,33 +34,38 @@ cargo install --path .
clear-docker-images <OPTIONS> clear-docker-images <OPTIONS>
``` ```
## Flags ## Options
```bash ```bash
-d, --date <DATE> USAGE:
filter by date. clear-docker-images [OPTIONS] [REPOSITORY]
Can filter by a minimum age $DATE or from $FROM|$TO (format example: YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS) ARGS:
[default: $NOW - 2 days] <REPOSITORY>
filter by repository name
--dry-run OPTIONS:
image cleanup will not be triggered [default: false] -d, --date <DATE>
filter by date.
--force Can filter by a minimum age $DATE or from $START|$STOP (format example: YYYY-MM-DD or
force image removal [default: false] YYYY-MM-DDTHH:MM:SS) [default: $NOW - 2d]
-h, --help --dry-run
Print help information image cleanup will not be triggered [default: false]
-r, --repository <REPOSITORY> --force
filter by repository name force image removal [default: false]
-t, --tags <TAGS> -h, --help
add tags exclusion Print help information
-v, --verbose -t, --tags <TAGS>
add more logs [default: false] add tags exclusion
-V, --version -v, --verbose
Print version information add more logs [default: false]
-V, --version
Print version information
``` ```