v0.4.0
Add support for cli options
$ micro-analytics --adapter redis --help
Usage: micro-analytics [options] [command]
Commands:
help Display help
Options:
-a, --adapter [value] Database adapter used (defaults to "flat-file-db")
-d, --db-config [value] Redis connection string or ioredis compatible JSON object. Environment variable: MAA_REDIS_DB_CONFIG (defaults to "redis://localhost:6379")
-h, --hash-key [value] Hash key for the redis hash to store all the data in. Environment variable: MAA_REDIS_DB_CONFIG (defaults to "micro-analytics")
-H, --help Output usage information
-H, --host [value] Host to listen on (defaults to "0.0.0.0")
-p, --port <n> Port to listen on (defaults to 3000)
-v, --version Output the version number