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
{{ message }}
This repository was archived by the owner on Jul 18, 2022. It is now read-only.
|`headerFile`| string |**[required]** Path to the parameterized license header. Parameters are referenced with the following syntax: {{.PARAMETER-NAME}} |
|`includes`| array of strings |**[required, min size=1]** File globs to include (`*` and `**` are supported) |
56
-
|`excludes`| array of strings | File globs to exclude (`*` and `**` are supported) |
57
-
|`data`| map of string to string | Key-value pairs, matching the parameters used in `headerFile`.<br>Please note that `{{.Year}}` is a reserved parameter and will automatically be computed based on the files versioning information. |
58
-
59
-
60
-
## Run
61
-
62
-
By default, a file named `headache.json` must be present in the current directory.
43
+
### Run
63
44
64
45
All you have to do then is:
65
46
```shell
@@ -70,11 +51,56 @@ All you have to do then is:
70
51
As a result, source files will be changed and `.headache-run` will be generated to keep track of `headache` last execution.
71
52
This file must be versioned along with the source file changes.
72
53
73
-
## Run with custom configuration
54
+
###Run with custom configuration
74
55
75
56
Alternatively, the configuration file can be explicitly provided:
|`headerFile`| string |**[required]** Path to the parameterized license header. Parameters are referenced with the following syntax: {{.PARAMETER-NAME}} |
|`includes`| array of strings |**[required, min size=1]** File globs to include (`*` and `**` are supported) |
102
+
|`excludes`| array of strings | File globs to exclude (`*` and `**` are supported) |
103
+
|`data`| map of string to string | Key-value pairs, matching the parameters used in `headerFile`.<br>Please note that `{{.Year}}` is a reserved parameter and will automatically be computed based on the files versioning information. |
0 commit comments