Library & CLI to get some information from QIX using enigma.js.
A super simple & minimalistic library & CLI to get some information out of the QIX engine.
Ideal for some prototyping work.
$ npm install qix-info --save-dev
$ npm install qix-info -g
$ docker pull stefanwalther/qix-info
const QixInfo = require('qix-info');
(async () => {
let qixInfo = new QixInfo();
let apps = await qixInfo.listApps();
console.log(`Amount of apps: ${apps.length}`);
})();
List all apps:
$ qix-info --host localhost:9076 list-apps
$ docker run --net="host" stefanwalther/qix-info list-apps
Note: We need to add --net="host"
to allow the Docker container talking to the host.
I might want to add more functionality over time (e.g. such as the healthcheck
endpoint, listing extensions, etc.), but only as needed.
Feel free to extend this library and adding a pull request.
Stefan Walther
MIT
This file was generated by verb-generate-readme, v0.6.0, on February 05, 2018.