-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Conversation
And created the missing README.md files so that pkglint is happy.
packages/aws-cdk/README.md
Outdated
$ 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 |
There was a problem hiding this comment.
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)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅
packages/aws-cdk/README.md
Outdated
|
||
```shell | ||
# Generate the template for StackName and output it to STDOUT | ||
$ cdk synthesize --app='node bin/main.js' StackName |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅
packages/aws-cdk/README.md
Outdated
``` | ||
|
||
#### `cdk deploy` | ||
Deploys a stack of your CDK application to it's environment. During the deployment, the toolkit will output progress |
There was a problem hiding this comment.
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"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅
packages/aws-cdk/README.md
Outdated
|
||
#### `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 |
There was a problem hiding this comment.
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
"
There was a problem hiding this comment.
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. | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- I would provide a one-line summary at the top of all the commands with links
- The order of command should "tell a story": init, list, synth, deploy, diff (and then bootstrap, docs, etc).
There was a problem hiding this comment.
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).
There was a problem hiding this comment.
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 :)
packages/aws-cdk/README.md
Outdated
This module is part of the [AWS Cloud Development Kit](https://github.com/awslabs/aws-cdk) project. | ||
|
||
### Commands | ||
Command | Description |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect. Obviously over-done ;-)
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.