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
Copy file name to clipboardExpand all lines: docs/wiki/content/docs/command reference/_index.adoc
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,13 +56,15 @@ Either one of the `backend+` features (or both) MUST be enabled for `complate` t
56
56
|Template|-t|--template|Skip the template selection by defining the used template from the configuration via this argument||stable
57
57
|Backend|-b|--backend|Defines the backend for the user interaction.||`CLI` is stable. `UI` is experimental (feature = "backend+ui").
58
58
|Value|-v|--value|Overrides a certain variable with a given string value. Specify the variable and value with an equals sign as separator|Multiple allowed. Example: <br/> `-v"variable=some arbitrary value"`|experimental
The first tag has the current version of the configuration schema. It needs to be equal to the major version number of the cli program. Since `complate` is still sub-one, the versioning is not yet stable and therefore, the major *and* minor version need to be equal to the ones of the cli program. +
@@ -94,3 +106,7 @@ You can resolve the value for each variable individual. Following options are av
94
106
#### Shell security
95
107
96
108
Since the `shell` value provider is able to run arbitrary shell commands, it is only allowed if and only if the `SHELL_TRUST` argument is explicitly set. See the `render` command reference for possible values for this setting. If *not* set, the provider will throw an unrecoverable error and the program will abort.
109
+
110
+
### Helpers
111
+
112
+
Helper functions can be used to modify a value that is encoded into the template itself. These functions can be defined freely. This functionality is experimental and requires the `--helpers` flag to be enabled. The value that is to be modified is given to the shell command via the environment variable "$VALUE".
0 commit comments