UNPKG

708 BPlain TextView Raw
1#!/usr/bin/env node
2
3const program = require( "commander" );
4const utils = require( "../lib/utils" );
5
6console.log( "Deploying lambda..." );
7
8program
9 .version( "0.0.0" )
10 .option( "--name [name]", "STRING - The name of the Lambda to deploy" )
11 .option( "--env [name]", "STRING (Default: live) - The environment you want to run in", "live" )
12 .option( "--aws_profile [name]", "STRING - (Default: undefined) - The AWS profile name to use for interacting with AWS" )
13 .option( "--use_bastion", "BOOLEAN (Default: false) Flag to tell Colly to authenticate you against a bastion service before interacting with AWS" )
14 .parse( process.argv );
15
16utils.setOptions( program );
17
18require( "../lib/deploy-lambda" )();
\No newline at end of file