shorthand declaration #20
1 changed files with 76 additions and 75 deletions
|
@ -28,12 +28,13 @@ Shorthand declaration
|
|||
|
||||
Shorthand declaration is a way to declare a variable in a single line. But you can only define variable name, description, multi or default value.
|
||||
|
||||
To create a variable, just add a key with it's name and default value as value. Attention, do not declare any other attributs.
|
||||
To create a variable, just add a key with it's name and default value as value.
|
||||
Be careful not to declare any other attributes.
|
||||
|
||||
To declare a multi variable just add a list as default value.
|
||||
|
||||
By default, the description of the variable is the variable name.
|
||||
If you add comment in same line of name, this comment is use has description.
|
||||
If you add a comment in the same line of the name, this comment will be used has a description.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
|
|
Loading…
Reference in a new issue