1.0.7 • Published 9 years ago

task-scripted v1.0.7

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

Scripted

Scripted' application to run JS files once.

Inspired Rails migrations, Scripted was created to run JS scripts only once, based on scripts already saved in the collection scripts in MongoDB.

Example: 1433298714535-for.js

$ scripted -c for
$ scripts/1433298714535-for.js created

Installation

$ npm install -g task-scripted

Configuration

You must configure MongoDB, it can be done using mongoose.json or environment variable MONGO_SCRIPTED.

mongoose.json
$ scripted -m
{
  "url" : "mongodb://localhost:27017/scripted"
}
Environment variable

In your .bash_profile or similar

export MONGO_SCRIPTED=mongodb://localhost:27017/scripted

Command Line Options

Usage: scripted options

Options:

-h, --help      output usage information
-V, --version   output the version number
-c, --create    Create script
-e, --execute   Execute scripts
-m, --mongoose  Create mongoose.json (optional)
-s, --scripted  Create scripted-template.js (optional)

Technologies

License

MIT

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

0.0.10

9 years ago

1.0.0

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago