UNPKG

721 BPlain TextView Raw
1#!/usr/bin/env node
2
3const program = require( "commander" );
4
5program
6 .version( "0.0.1" )
7 .command( "init-lambda [name]", "Initialise a new lambda" )
8 .command( "run-lambda [name] [local]", "Run a local or deployed lambda" )
9 .command( "deploy-lambda [name] [env] [use_bastion] [aws_profile]", "Deploy a lambda" )
10 .command( "encrypt-var [name] [value] [use_bastion] [aws_profile]", "Encrypt an environment variable using KMS" )
11 .command( "decrypt-var [name] [use_bastion] [aws_profile]", "Decrypt an environment variable using KMS" )
12 .command( "watch-log [name] [search] [group_name] [start_time] [tail] [use_bastion] [aws_profile]", "Fetch and search Cloudwatch logs for a lambda" )
13 .parse( process.argv );
\No newline at end of file