Adding upstream version 0.8.9.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
3b2c48b5e4
commit
c0c4addb85
285 changed files with 25880 additions and 0 deletions
20
docs/generators/basic.md
Normal file
20
docs/generators/basic.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Basic generator
|
||||
|
||||
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
|
||||
```
|
||||
```yaml
|
||||
Generating URL for telegram using basic generator
|
||||
Enter the configuration values as prompted
|
||||
|
||||
Token: 110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw
|
||||
Preview[Yes]: No
|
||||
Notification[Yes]:
|
||||
ParseMode[None]:
|
||||
Channels: @mychannel
|
||||
|
||||
URL: telegram://110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw@telegram?channels=@mychannel¬ification=Yes&parsemode=None&preview=No
|
||||
```
|
10
docs/generators/overview.md
Normal file
10
docs/generators/overview.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
# Generators
|
||||
|
||||
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>
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue