prunedocker-crystal
prunedocker-crystal
This project supports the blog post Why Crystal is Awesome
Installation
Just clone the repo then shards update
.
Usage
Build it with shards build prunedocker --error-trace
and you get your binary under bin
folder. Then run it:
./bin/prunedocker -u someUser -p somepass -r some_repo -k 12 --dry-run
Use the -h
options to see the help menu like this one:
prunedocker OPTIONS
Options:
--dry-run Just lists tags that will be dropped without actually dropping them
-k, --keep Keeps k tags in the repo. Will delete the remaining older tags
-p, --password Dockerhub password
-r, --repo Dockerhub repository
-u, --user Dockerhub Login
-h, --help show this help
Contributing
This is a simple port from a racket project produced for a blog post. Not sure if need any contribuition, but just in case:
- Fork it ( https://github.com/[your-github-name]/prunedocker-crystal/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- [your-github-name] Paulo Suzart - creator, maintainer
Repository
prunedocker-crystal
Owner
Statistic
- 1
- 0
- 0
- 0
- 2
- almost 7 years ago
- February 15, 2018
License
MIT License
Links
Synced at
Mon, 25 Nov 2024 02:21:14 GMT
Languages