From e3685688b89cc403b1d7a4d4db06d3b57875f319 Mon Sep 17 00:00:00 2001 From: Grzegorz Ziolkowski Date: Thu, 30 Jan 2020 07:49:32 +0100 Subject: [PATCH] Docs: Add a note about version and help options --- packages/create-block/CHANGELOG.md | 6 +++++- packages/create-block/README.md | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/create-block/CHANGELOG.md b/packages/create-block/CHANGELOG.md index 6c62bcddeeb7b2..efafd98843dc0f 100644 --- a/packages/create-block/CHANGELOG.md +++ b/packages/create-block/CHANGELOG.md @@ -1,5 +1,9 @@ ## Master +### Enhancements + +- Removed the code that clears the terminal while the block is scaffolded ([#19867](https://github.com/WordPress/gutenberg/pull/19867)). + ### Internal -- Imported from `create-wordpress-block` npm packgage. +- Imported from `create-wordpress-block` npm packgage ([#19773](https://github.com/WordPress/gutenberg/pull/19773)). diff --git a/packages/create-block/README.md b/packages/create-block/README.md index 9e93da468c1e37..7caf083213b847 100644 --- a/packages/create-block/README.md +++ b/packages/create-block/README.md @@ -53,6 +53,8 @@ Options: -h, --help output usage information ``` +_Please note that `--version` and `--help` options don't work with `npm init`. You have to use `npx` instead, as presented in the examples._ + More examples: 1. Interactive mode - it gives a chance to customize a few most important options