Add scaffolding constraints
This commit is contained in:
parent
bdf1e63b06
commit
5a5ddf7105
|
@ -3,6 +3,12 @@ vars:
|
||||||
- type: string
|
- type: string
|
||||||
name: ProjectName
|
name: ProjectName
|
||||||
description: Project Name
|
description: Project Name
|
||||||
|
constraints:
|
||||||
|
- rule: Input == ""
|
||||||
|
message: The project name cannot be empty.
|
||||||
- type: string
|
- type: string
|
||||||
name: ProjectNamespace
|
name: ProjectNamespace
|
||||||
description: The Go module namespace
|
description: The Go module namespace
|
||||||
|
constraints:
|
||||||
|
- rule: Input == ""
|
||||||
|
message: The module namespace cannot be empty.
|
||||||
|
|
Loading…
Reference in New Issue