Skip to content

Adapt Command Line Interface

Alan Bourne edited this page Jan 9, 2014 · 16 revisions

Overview

Adapt Command Line Interface is a set of cross platform command line tools for developers to create, manage and build Adapt courses and plugin.

Full details are available from the NPM Package.

Installation

To install the Adapt CLI, first be sure to install NodeJS, then from the command line run:-

$ npm install adapt-cli -g

CLI features

  • Search for plugins
  • Install a plugin
  • Uninstall a plugin

Searching for plugins

Searching for an Adapt plugin. ```bash` $ adapt search {name or partial name of plugin to search for}

### Installing plugins
Installing a plugin into your current directory
```bash
$ adapt install {name of plugin}

Uninstalling plugins

Uninstalling a plugin from your current directory

$ adapt uninstall {name of plugin}

Configuration

The plugin system is powered by Bower. Each plugin should be a valid bower package and they should be registered with the Adapt registry adapt-bower-repository.herokuapp.com.

Clone this wiki locally