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 ...@@ -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. All confirguration values can also be specified in a configuration file.
The configuration file can be specified with the `--config` parameter. 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. The parameter `path` specifies the path.
### Help ### Help
......
...@@ -50,7 +50,7 @@ type Configuration struct { ...@@ -50,7 +50,7 @@ type Configuration struct {
Template struct { Template struct {
Add string `yaml:"Add"` Add string `yaml:"Add"`
} `yaml:"Template"` } `yaml:"Template"`
} `yaml:"Requirement"` } `yaml:"Document"`
} }
func fileExists(name string) (found bool) { func fileExists(name string) (found bool) {
......
...@@ -40,9 +40,9 @@ block-headings: true ...@@ -40,9 +40,9 @@ block-headings: true
{{.Items}} {{.Items}}
{{ end}}{{ if .HasRequirements }} {{ end}}{{ if .HasRequirements }}
## Document ## Documents
{{.Document}} {{.Documents}}
{{ end}} {{ end}}
...@@ -64,7 +64,7 @@ Type: null ...@@ -64,7 +64,7 @@ Type: null
Alias: null Alias: null
Keywords: Keywords:
- Requirement - Document
# First and last name of the authors as a list # First and last name of the authors as a list
Author: Author:
......
...@@ -243,7 +243,7 @@ var l10nMap = []l10nKeyTranslation{ ...@@ -243,7 +243,7 @@ var l10nMap = []l10nKeyTranslation{
}, { }, {
"RequirementID", "RequirementID",
[]l10nLocaleTranslation{ []l10nLocaleTranslation{
{"de", "Document"}, {"de", "Documents"},
{"en", "Anforderungen"}, {"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