Skip to content
Snippets Groups Projects
Verified Commit 6667a2cb authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

chore: commit save point

parent 7204b59e
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,11 @@ The date format for the output can be specified with the parameter `--date-forma
All confirguration values can also be specified in a configuration file.
The configuration file can be specified with the `--config` parameter.
If no path is specified, the configuration file `config.yaml` is first searched for in the working directory.
If this is not found, the file is searched for in the home directory `~/.config/requirements-manager/config.yaml`.
Finally, we look for the configuration in the `/etc/requirements-manager/config.yaml` directory.
The parameter `path` specifies the path.
### Help
......
......@@ -50,7 +50,7 @@ type Configuration struct {
Template struct {
Add string `yaml:"Add"`
} `yaml:"Template"`
} `yaml:"Requirement"`
} `yaml:"Document"`
}
func fileExists(name string) (found bool) {
......
......@@ -40,9 +40,9 @@ block-headings: true
{{.Items}}
{{ end}}{{ if .HasRequirements }}
## Document
## Documents
{{.Document}}
{{.Documents}}
{{ end}}
......@@ -64,7 +64,7 @@ Type: null
Alias: null
Keywords:
- Requirement
- Document
# First and last name of the authors as a list
Author:
......
......@@ -243,7 +243,7 @@ var l10nMap = []l10nKeyTranslation{
}, {
"RequirementID",
[]l10nLocaleTranslation{
{"de", "Document"},
{"de", "Documents"},
{"en", "Anforderungen"},
},
}, {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment