PowerShell Version
Both 5.1 and 7.x
Operating System
Windows
Module Version
2.1.3
What happened?
im unable to have a prompt but pass no parameter
also when set to required no, i want to be able to run it noninteractive and only use default values or empty values if not required to pass a paremeter
Expected behavior
it asks for a parameter i pass an empty value, it continues
Minimal reproduction
{
"name": "CustomName",
"type": "text",
"description": "Add a custom name (leave empty if not required)",
"default": "",
"required": false
},
Error output / logs
keeps reprompting for CustomName when trying to pass empty string/no value
Additional context
it just always reprompts for it untill i pass a value even with required none and empty default value (also happens without those) even when i dont want to give a value, it should be an optional value
also it is described that there is Get-Help about_Plaster_CreatingJsonManifest in the documentation on github but no document for json format exist and that command also doesnt work
no json examples in the docs for creating manifest with all options
PowerShell Version
Both 5.1 and 7.x
Operating System
Windows
Module Version
2.1.3
What happened?
im unable to have a prompt but pass no parameter
also when set to required no, i want to be able to run it noninteractive and only use default values or empty values if not required to pass a paremeter
Expected behavior
it asks for a parameter i pass an empty value, it continues
Minimal reproduction
{ "name": "CustomName", "type": "text", "description": "Add a custom name (leave empty if not required)", "default": "", "required": false },Error output / logs
Additional context
it just always reprompts for it untill i pass a value even with required none and empty default value (also happens without those) even when i dont want to give a value, it should be an optional value
also it is described that there is Get-Help about_Plaster_CreatingJsonManifest in the documentation on github but no document for json format exist and that command also doesnt work
no json examples in the docs for creating manifest with all options