addMetaConfigFields adds meta fields that control the config process to the given map of fields. These fields have no actual effect and map to a placeholder value because they are handled elsewhere, but they must be set to prevent errors about missing flags. The flags that it adds are those in [meta
(allFields *fields)
| 87 | // they must be set to prevent errors about missing flags. The flags |
| 88 | // that it adds are those in [metaConfig]. |
| 89 | func addMetaConfigFields(allFields *fields) { |
| 90 | addFields(&metaConfigFields{}, allFields, "") |
| 91 | } |
| 92 | |
| 93 | // metaCmds is a set of commands based on [metaConfig] that |
| 94 | // contains a shell implementation of the help command. |