mc-cli

Machine Colony command line tools


License
MIT
Install
pip install mc-cli==0.0.4

Documentation

mc-cli

Command line client and toolkit

Installation

If you just want to use the tool, simply install with:

pip install mc-cli

Otherwise, if developing the tool, clone this repo, cd into it, then:

pip install --editable .

this makes the mc program available. Execute mc to see the options.

There is an additional dependency for testing bots: ngrok

Configuration

mc looks for a JSON configuration file at ~/.mc/config.json. The following are required:

{
    "client_key": "your client key",
    "client_secret": "your client secret",
    "mc_url": "machine colony url",
    "ml_url": "machine colony models url",
    "mc_hooks_url": "machine colony webhook url"
}

You can use mc auth to authenticate with the API and automatically have your client key and secret added to your config.