cli icon indicating copy to clipboard operation
cli copied to clipboard

Prevent Scaffolding Chains with Numbers in the Name

Open toschdev opened this issue 1 year ago • 0 comments

Describe the bug You can scaffold a chain with a number, afterwards errors are thrown.

It should probably give feedback already before scaffolding the chain. Check should be done at the scaffold stage.

Screenshot 2024-06-20 at 17 19 00

To reproduce Steps to reproduce the behavior:

  1. scaffold a chain "blog2" ignite scaffold chain blog2
  2. cd blog2
  3. ignite scaffold list post title body
  4. ✘ Name cannot contain number

What version are you using?

Ignite CLI version:		v28.4.0
Ignite CLI build date:		2024-05-15T13:42:13Z
Ignite CLI source hash:		83ee9ba5f81f2d2104ed91808f2cb72719a23e41
Ignite CLI config version:	v1
Cosmos SDK version:		v0.50.6
Your OS:			darwin
Your arch:			amd64
Your Node.js version:		v18.12.0

toschdev avatar Jun 20 '24 15:06 toschdev