From 2b779c3d4e6e1b997582ba2cd69d1e1eef0487b9 Mon Sep 17 00:00:00 2001 From: James Meng Date: Wed, 11 Dec 2024 11:23:35 -0800 Subject: [PATCH] --wip-- [skip ci] --- packages/cli/README.md | 22 +++++++-------- packages/cli/oclif.manifest.json | 6 ----- .../src/cli/commands/theme/generate/block.ts | 9 +++---- .../cli/commands/theme/generate/section.ts | 9 +++---- .../cli/commands/theme/generate/template.ts | 16 +++-------- packages/theme/src/cli/utilities/generator.ts | 27 +++++++++++++++++++ 6 files changed, 50 insertions(+), 39 deletions(-) create mode 100644 packages/theme/src/cli/utilities/generator.ts diff --git a/packages/cli/README.md b/packages/cli/README.md index caf474f538..7b071557cf 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -1904,12 +1904,12 @@ Creates and adds a new block file to your local theme directory ``` USAGE - $ shopify theme generate block -n -t text|image|video|product|collection [--no-color] [--path ] + $ shopify theme generate block [-n ] [--no-color] [--path ] [-t text|image|video|product|collection] [--verbose] FLAGS - -n, --name= (required) Name of the block - -t, --type=