1 |
|
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 |
|
8 | const program = require('commander')
|
9 | const { startTool } = require('./src/volumes')
|
10 |
|
11 | program
|
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 |
|
17 | startTool(program)
|