aws-amicleaner 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +2 -0
  2. package/package.json +2 -1
package/index.js CHANGED
@@ -1,3 +1,5 @@
1
+ #!/usr/bin/env node
2
+
1
3
  const { createInterface } = require('node:readline');
2
4
  const { ArgumentParser, BooleanOptionalAction } = require('argparse');
3
5
  const { fetchAMIs, deleteAMI, fetchRegions} = require('./lib.js');
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "aws-amicleaner",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "To clean up your AWS AMIs: First, include AMIs by name or tag. Second, exclude AMIs in use, younger than N days, or the newest N images. Third, manually confirm the list of AMIs for deletion.",
5
5
  "main": "index.js",
6
+ "bin": "index.js",
6
7
  "scripts": {
7
8
  "test": "eslint . && c8 mocha"
8
9
  },