aws-samples/aws-cdk-intro-workshop

Inconsistent use of `cdk (command)` and `npx cdk (command)`

Opened this issue · 3 comments

Describe the bug

In the pipelines workshop, deploy commands are done by npx cdk deploy. In all sections leading up to this, they are cdk deploy. This should not affect the behavior of the code, but is inconsistent.

I can open a pull for this.

Expected Behavior

Standardized CLI commands.

Current Behavior

Mix of CLI commands.

Reproduction Steps

This page
vs
this page

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

No response

Section

No response

Browser

No response

Language

Typescript

@scanlonp Thanks for pointing the inconsistency. Feel free to contribute PR with a fix. Please ensure the following:

  • Make the changes for all language workshops, for both English and Japanese languages
  • Ensure locally that omitting npx works.

Thanks,
Ashish

@scanlonp @ashishdhingra I have some capacity left and if you both are fine, I can look into this.

@scanlonp @ashishdhingra I have some capacity left and if you both are fine, I can look into this.

@stefanfreitag Sure. Thanks.