Kitto v0.9.1 mix kitto.install View Source

Installs community Widget/Job from a Github Gist

mix kitto.install --widget test_widget --gist JanStevens/0209a4a80cee782e5cdbe11a1e9bc393
mix kitto.install --gist 0209a4a80cee782e5cdbe11a1e9bc393

Options

  • --widget - specifies the widget name that will be used as directory name in the widgets directory. By default we use the js filename as directory

  • --gist - The gist to download from, specified as Username/Gist or Gist

Link to this section Summary

Functions

A task needs to implement run which receives a list of command line args

Link to this section Functions

A task needs to implement run which receives a list of command line args.

Callback implementation for Mix.Task.run/1.