Merging upstream version 0.8.13.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
4ccf9dc8f1
commit
bc0f764250
28 changed files with 556 additions and 76 deletions
|
@ -3,9 +3,11 @@
|
|||
The basic generator looks at the `key:""`, `desc:""` and `default:""` tags on service configuration structs and uses them to ask the user to fill in their corresponding values.
|
||||
|
||||
Example:
|
||||
```shell
|
||||
$ shoutrrr generate telegram
|
||||
|
||||
```bash
|
||||
shoutrrr generate telegram
|
||||
```
|
||||
|
||||
```yaml
|
||||
Generating URL for telegram using basic generator
|
||||
Enter the configuration values as prompted
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
# Generators
|
||||
|
||||
Generators are used to create service configurations via the command line.
|
||||
Generators are used to create service configurations via the command line.
|
||||
The main generator is the reflection based [Basic generator](./basic) that aims to be able to generator configurations for all the core services via a set of simple questions.
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
$ shoutrrr generate [OPTIONS] -g <GENERATOR> <SERVICE>
|
||||
```
|
||||
shoutrrr generate [OPTIONS] -g <GENERATOR> <SERVICE>
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue