npm.io
0.0.1 • Published 10 years agoCLI

linedup-cli

Licence
MIT
Version
0.0.1
Deps
2
Vulns
7
Weekly
0
Stars
1

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!