0.0.1 • Published 8 years ago

linedup-cli v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

LinedUp CLI

Command Line Interface (CLI) to create new entries for LinedUp

The LinedUp CLI is used to communicate with MongoDB to create new concerts for LinedUp from the command line (Terminal; Shell).

Installation

Install the script globally via npm.

$ npm install -g linedup-cli

Usage

You need to run the script from the LinedUp directory at the moment. It'll use your config.js and models/concert.js Model to interact with the database. The Script will prompt you for all the relevant fields. Below is an example of running the script.

$ cd /path/to/linedup/installation
$ linedup-cli
$ prompt: name:  Skrillex
$ prompt: venue:  Schlachthof
$ prompt: city:  Wiesbaden
$ prompt: country:  (Germany)
$ prompt: date:  2008
$  Name: Skrillex
$  Venue: Schlachthof
$  City: Wiesbaden
$  Country: Germany
$  Date: 2008
$ Concert created!