From 51432eaf39236ec3741c2654a552d220fd626fdd Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 12 Jul 2016 17:00:02 +0200 Subject: [PATCH] Add example how to use imag-counter --- doc/src/04020-module-counter.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/src/04020-module-counter.md b/doc/src/04020-module-counter.md index 6ead3f8c..ad09531d 100644 --- a/doc/src/04020-module-counter.md +++ b/doc/src/04020-module-counter.md @@ -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 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