UNPKG

jasmine-spec-factory

Version:

An opinionated Jasmine spec generator for AMD modules.

27 lines (20 loc) 511 B
#!/usr/bin/env node 'use strict'; const chalk = require('chalk'); const meow = require('meow'); const pkg = require('./package.json'); meow(` ${chalk.bold('Usage')} $ ${pkg.name} <filename> ${chalk.bold('Options')} --help, -h Display this information. --version, -v Display the version number. ${chalk.bold('Examples')} $ ${pkg.name} ~/path/to/an/amd/module.js `, { alias: { h: 'help', v: 'version' } }); require('./lib')();