Add example how to use imag-counter

This commit is contained in:
Matthias Beyer 2016-07-12 17:00:02 +02:00
parent 1bf7d16664
commit 51432eaf39

View file

@ -15,6 +15,17 @@ possibly timestamp of your increments/decrements, so you can export this and use
Filters for selecting only certain time ranges when listing/exporting your Filters for selecting only certain time ranges when listing/exporting your
counters will be added as well. counters will be added as well.
### Examples
Here are some examples how to use the counter module:
```bash
imag counter create --name example --initval 42 # or: -n example -i 42
imag counter --inc example # or -i example
imag counter --reset example
imag counter --dec example # or -d example
```
### Backends ### Backends
<!-- Backends the module supports including links to external resources --> <!-- Backends the module supports including links to external resources -->