cli
cli copied to clipboard
Prevent Scaffolding Chains with Numbers in the Name
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.
To reproduce Steps to reproduce the behavior:
- scaffold a chain "blog2"
ignite scaffold chain blog2 - cd blog2
-
ignite scaffold list post title body - ✘ 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