Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: sam commands in lifecycle app order in help command #1361

Merged
merged 2 commits into from
Aug 23, 2019

Conversation

sriram-mv
Copy link
Contributor

  • fix init so that it displays short help content
  • display commands in lifecycle order
~/aws_sam_cli_WS/aws-sam-cli❯ sam --help                                                                                              
Usage: sam [OPTIONS] COMMAND [ARGS]...

  AWS Serverless Application Model (SAM) CLI

  The AWS Serverless Application Model extends AWS CloudFormation to provide
  a simplified way of defining the Amazon API Gateway APIs, AWS Lambda
  functions, and Amazon DynamoDB tables needed by your serverless
  application. You can find more in-depth guide about the SAM specification
  here: https://github.com/awslabs/serverless-application-model.

Options:
  --debug    Turn on debug logging to print debug message generated by SAM
             CLI.
  --version  Show the version and exit.
  --info
  --help     Show this message and exit.

Commands:
  init      Init an AWS SAM application.
  validate  Validate an AWS SAM template.
  build     Build your Lambda function code
  local     Run your Serverless application locally for quick development &...
  package   Package an AWS SAM application. This is an alias for 'aws
            cloudformation package'.
  deploy    Deploy an AWS SAM application. This is an alias for 'aws
            cloudformation deploy'.
  logs      Fetch logs for a function
  publish   Publish a packaged AWS SAM template to the AWS Serverless
            Application Repository.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

- fix init so that it displays short help content
@sriram-mv sriram-mv requested a review from sanathkr August 22, 2019 20:56
Copy link
Contributor

@sanathkr sanathkr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@sanathkr sanathkr merged commit 05d1bd8 into aws:develop Aug 23, 2019
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