Skip to content

Conversation

@DeviaVir
Copy link
Collaborator

@DeviaVir DeviaVir commented Sep 2, 2016

Displaying help worked fine, long as you specified the command. To make sure people can't run into this again, made deploy the default with an alias to deploy.

Results:

$ bin/node-lambda -h

  Usage: node-lambda|deploy [options] [command]


  Commands:

    package|zip [options]   Create zipped package for Amazon Lambda deployment
    run|execute [options]   Run your Amazon Lambda application locally
    setup [options]         Sets up the .env file.

  Deploy your application to Amazon Lambda

  Options:

    -h, --help                                                                                                                    output usage information
    -V, --version                                                                                                                 output the version number
    -e, --environment []                                                                                                          Choose environment {dev, staging, production}
    -a, --accessKey [undefined]                                                                                                   AWS Access Key
    -s, --secretKey [undefined]                                                                                                   AWS Secret Key
    -P, --profile []                                                                                                              AWS Profile
    -k, --sessionToken []                                                                                                         AWS Session Token
    -r, --region [us-east-1,us-west-2,eu-west-1]                                                                                  AWS Region
    -n, --functionName [node-lambda]                                                                                              Lambda FunctionName
    -H, --handler [index.handler]                                                                                                 Lambda Handler {index.handler}
    -o, --role [missing]                                                                                                          Amazon Role ARN
    -m, --memorySize [128]                                                                                                        Lambda Memory Size
    -t, --timeout [60]                                                                                                            Lambda Timeout
    -d, --description [Command line tool for locally running and remotely deploying your node.js applications to Amazon Lambda.]  Lambda Description
    -u, --runtime [nodejs4.3]                                                                                                     Lambda Runtime
    -p, --publish [false]                                                                                                         Lambda Publish
    -v, --version []                                                                                                              Lambda Function Version
    -b, --vpcSubnets []                                                                                                           Lambda Function VPC Subnets
    -g, --vpcSecurityGroups []                                                                                                    Lambda VPC Security Group
    -A, --packageDirectory [undefined]                                                                                            Local Package Directory
    -f, --configFile []                                                                                                           Path to file holding secret environment variables (e.g. "deploy.env")
    -x, --excludeGlobs []                                                                                                         Space-separated glob pattern(s) for additional exclude files (e.g. "event.json dotenv.sample")
    -D, --prebuiltDirectory []                                                                                                    Prebuilt directory

@DeviaVir DeviaVir mentioned this pull request Sep 2, 2016
@DeviaVir DeviaVir merged commit fcc330e into master Sep 2, 2016
@DeviaVir DeviaVir deleted the display_help branch September 2, 2016 08:47
DeviaVir pushed a commit that referenced this pull request Sep 6, 2016
DeviaVir added a commit that referenced this pull request Sep 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants