|
|
|
@ -6,8 +6,11 @@ |
|
|
|
"properties": { |
|
|
|
"name": { |
|
|
|
"description": "The name of theme will change.", |
|
|
|
"type": "integer", |
|
|
|
"default": 1, |
|
|
|
"type": "number", |
|
|
|
"$default": { |
|
|
|
"$source": "argv", |
|
|
|
"index": 0 |
|
|
|
}, |
|
|
|
"enum": [1, 2, 3, 4], |
|
|
|
"x-prompt": { |
|
|
|
"message": "Which theme would you like to use?", |
|
|
|
@ -23,7 +26,11 @@ |
|
|
|
"targetProject": { |
|
|
|
"description": "The name of the project will change the style.The project type must be 'application'", |
|
|
|
"type": "string", |
|
|
|
"x-prompt": "Please enter the project name" |
|
|
|
"x-prompt": "Please enter the project name", |
|
|
|
"$default": { |
|
|
|
"$source": "argv", |
|
|
|
"index": 1 |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
"required": ["name"] |
|
|
|
|