imag/doc/src/04020-module-counter.md

34 lines
947 B
Markdown
Raw Normal View History

## Counter {#sec:modules:counter}
2016-03-15 14:01:10 +00:00
The Counter module helps you counting things.
### Description
In its current state the counter module is capable of simple counting. You can
create, list and delete counters which are simply numbers and incremet,
decrement, set and reset them.
2016-03-15 14:01:10 +00:00
Future plans include counting functionality which is able to save date and
possibly timestamp of your increments/decrements, so you can export this and use
(for example) R to visualize this data.
Filters for selecting only certain time ranges when listing/exporting your
counters will be added as well.
2016-07-12 15:00:02 +00:00
### Examples
Here are some examples how to use the counter module:
```bash
2016-07-30 19:36:45 +00:00
2016-07-12 15:00:02 +00:00
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 the module supports including links to external resources -->