eb-prune ######## A CLI tool to prune old versions of Elastic Beanstalk. Installation ------------ .. code:: shell pip install eb-prune Usage ----- To keep the last 100 versions available, simply run :code:`eb-prune 100`. The tool relies on the usual AWS CLI configuration as described `here `_, specifically on access key id, secret access key and region. .. code:: shell $ eb-prune --help usage: eb-prune [-h] [-d] versions_to_keep positional arguments: versions_to_keep The number of versions to keep. optional arguments: -h, --help show this help message and exit -d, --dry-run Dry run, do not delete versions. License ------- This software is licnesed under the MIT licese (see the :code:`LICENSE.txt` file). Author ------ Nimrod Adar, `contact me `_ or visit my `website `_. Patches are welcome via `git send-email `_. The repository is located at: https://www.shore.co.il/git/. TODO ---- - Fix Travis CI run on Python 3.2 (https://travis-ci.org/adarnimrod/eb-prune/jobs/187705346). - Release to PyPI on tagged commits.