usage: modo-count.py [-h] -r EMAIL -t TOKEN -a URL [-o json/read]
optional arguments:
-h, --help show this help message and exit
-r EMAIL, --reseller EMAIL
precise email of the reseller
-t TOKEN, --token TOKEN
Token for access to data
-a URL, --api URL precise url modoboa
-o json/read, --output json/read
precise output : json/read
python3 modo-count.py -r <EMAIL> -t <TOKEN> -a <URL>
or
python3 modo-count.py -r <EMAIL> -t <TOKEN> -a <URL> -o json
The output is going to be formated in JSON by default
python3 modo-count.py -r <EMAIL> -t <TOKEN> -a <URL> -o read
The output is going to be formated in JSON by default
docker build -t <NAME:VERSION> .
docker run <NAME:VERSION> -r <EMAIL> -t <TOKEN> -a <URL>
or
docker run <NAME:VERSION> -r <EMAIL> -t <TOKEN> -a <URL> -o json
docker run <NAME:VERSION> -r <EMAIL> -t <TOKEN> -a <URL> -o read
This project is licensed under the Apache 2.0 license - see the LICENSE file for details.
This role was created in 11/10/2018 by PG3