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

Add pkglint rule to require the presence of a README.md file #442

Merged
merged 8 commits into from
Jul 31, 2018

Conversation

RomainMuller
Copy link
Contributor

And created the missing README.md files so that pkglint is happy.

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

And created the missing README.md files so that pkglint is happy.
@RomainMuller RomainMuller requested a review from eladb July 31, 2018 09:57
$ cdk synthesize --app='node bin/main.js' StackName

# Generate the template for StackName and save it to template.yml
$ cdk synthesize --app='node bin/main.js' StackName --output=template.yml
Copy link
Contributor

Choose a reason for hiding this comment

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

Change to MyStackName (so it's clear it's a user-defined value and not a switch)

Copy link
Contributor Author

Choose a reason for hiding this comment

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


```shell
# Generate the template for StackName and output it to STDOUT
$ cdk synthesize --app='node bin/main.js' StackName
Copy link
Contributor

Choose a reason for hiding this comment

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

Show synth as an alias

Copy link
Contributor Author

Choose a reason for hiding this comment

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

```

#### `cdk deploy`
Deploys a stack of your CDK application to it's environment. During the deployment, the toolkit will output progress
Copy link
Contributor

Choose a reason for hiding this comment

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

Use "CDK app" instead of "CDK application"

Copy link
Contributor Author

Choose a reason for hiding this comment

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


#### `cdk diff`
Computes differences between the infrastructure specified in the current state of the CDK Application and the currently
deployed application (or a user-specified CloudFomration template). This command returns non-`0` if any differences are
Copy link
Contributor

Choose a reason for hiding this comment

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

Fomration => Formation

I would use "non-zero" instead of "non-0"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@@ -0,0 +1,162 @@
## AWS CDK Toolkit
The AWS CDK Toolkit provides the `cdk` command-line interface that can be used to work with AWS CDK applications.

Copy link
Contributor

Choose a reason for hiding this comment

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

  1. I would provide a one-line summary at the top of all the commands with links
  2. The order of command should "tell a story": init, list, synth, deploy, diff (and then bootstrap, docs, etc).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure I understand your 1. here -- but I agree with 2. (initially intended to, somehow lost it at some point -- already re-organized the sections).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

✅ I've tried something - I hope that's what you meant :)

@RomainMuller RomainMuller self-assigned this Jul 31, 2018
This module is part of the [AWS Cloud Development Kit](https://github.com/awslabs/aws-cdk) project.

### Commands
Command | Description
Copy link
Contributor

Choose a reason for hiding this comment

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

Perfect. Obviously over-done ;-)

@RomainMuller RomainMuller merged commit 2fb1042 into master Jul 31, 2018
@RomainMuller RomainMuller deleted the rmuller/require-readme branch July 31, 2018 11:37
@NGL321 NGL321 added the contribution/core This is a PR that came from AWS. label Sep 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants