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: CHANGELOG.md
+4-3
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@
11
11
1. The plugin now fully supports nested parameters!
12
12
2. Added a config option `validation.parametersSchema` which can be used to set the parameters JSON schema in a config file. The default is `nextflow_schema.json`
13
13
3. The parameter summary log will now automatically show nested parameters.
14
+
4. Added two new configuration options: `validation.summary.beforeText` and `validation.summary.afterText` to automatically add some text before and after the output of the `paramsSummaryLog()` function. The colors from these texts will be automatically filtered out if `validation.monochromeLogs` is set to `true`.
14
15
15
16
## Help message changes
16
17
@@ -21,9 +22,9 @@
21
22
-`validation.help.fullParameter`: The parameter to use for the expanded help message. This help message will show all parameters no matter how deeply nested they are. Default = `helpFull`
22
23
-`validation.help.showHiddenParameter`: The parameter to use to also show all parameters with the `hidden: true` keyword in the schema. Default = `showHidden`
23
24
-`validation.help.showHidden`: Set this to `true` to show hidden parameters by default. This configuration option is overwritten by the value supplied to the parameter in `validation.help.showHiddenParameter`. Default = `false`
24
-
-`validation.help.beforeText`: Some custom text to add before the help message.
25
-
-`validation.help.afterText`: Some custom text to add after the help message.
26
-
-`validation.help.command`: An example command to add to the top of the help message
25
+
-`validation.help.beforeText`: Some custom text to add before the help message. The colors from this text will be automatically filtered out if `validation.monochromeLogs` is set to `true`.
26
+
-`validation.help.afterText`: Some custom text to add after the help message. The colors from this text will be automatically filtered out if `validation.monochromeLogs` is set to `true`.
27
+
-`validation.help.command`: An example command to add to the top of the help message. The colors from this text will be automatically filtered out if `validation.monochromeLogs` is set to `true`.
27
28
3. Added support for nested parameters to the help message. A detailed help message using `--help <parameter>` will now also contain all nested parameters. The parameter supplied to `--help` can be a nested parameter too (e.g. `--help top_parameter.nested_parameter.deeper_parameter`)
28
29
4. The help message now won't show empty parameter groups.
29
30
5. The help message will now automatically contain the three parameters used to get help messages.
Copy file name to clipboardexpand all lines: plugins/nf-schema/src/main/nextflow/validation/config/ValidationConfig.groovy
+3-3
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,7 @@ class ValidationConfig {
24
24
finalpublicString parametersSchema
25
25
finalpublicBoolean showHiddenParams =false
26
26
finalpublicHelpConfig help
27
+
finalpublicSummaryConfig summary
27
28
28
29
finalpublicList<String> ignoreParams
29
30
@@ -36,7 +37,8 @@ class ValidationConfig {
36
37
log.warn("configuration option `validation.showHiddenParams` is deprecated, please use `validation.help.showHidden` or the `--showHidden` parameter instead")
0 commit comments