UNPKG

452 BJavaScriptView Raw
1#! /usr/bin/env node
2
3/***
4 * This file serves as the entry point for the cli tool.require
5 * Flags and options are handles using commanderjs.
6 */
7
8const program = require('commander')
9const { startTool } = require('./src/volumes')
10
11program
12 .version('0.0.3')
13 .description('A tool to check whether your AWS EC2 instances are encrypted.')
14 .option('-r, --region', 'Specify a particular region to lookup.')
15 .parse(process.argv)
16
17startTool(program)