You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, variables are dictionaries where the key is the variable name and the values represent its description.
We should use an object instead so that we can specify other properties like type, default, and support enumerations.
Instead of summary: short summary added at the beginning of the readme file, we should have something like this:
- name: summary
description: short summary added at the beginning of the readme file
type: string
For enumerations, we should have something like the following:
- name: plugins
description: list of plugins to install in the template
type: enum
enum: ["none", "VScode", "GIS", "VScode and GIS"]
default: none
Initial support for strings and enumerations may be enough.
We could also support numbers and booleans for completeness and to have a better validation system, as well as a better UX in the UI.
The text was updated successfully, but these errors were encountered:
lorenzo-cavazzi
changed the title
Change variables to object
Change variables in the manifest file from dictionaries to objects
Apr 20, 2021
Currently, variables are dictionaries where the key is the variable name and the values represent its description.
We should use an object instead so that we can specify other properties like
type
,default
, and support enumerations.Instead of
summary: short summary added at the beginning of the readme file
, we should have something like this:For enumerations, we should have something like the following:
Initial support for strings and enumerations may be enough.
We could also support numbers and booleans for completeness and to have a better validation system, as well as a better UX in the UI.
The text was updated successfully, but these errors were encountered: