Verified Commit 1f4c0e5a authored by Aral Balkan's avatar Aral Balkan
Browse files

Rename project in and update bin.js

parent c6afa519
Pipeline #792 canceled with stages
#! /usr/bin/env node
process.title = 'bankai'
process.title = '@hypha/web-compiler'
require('v8-compile-cache')
......@@ -9,7 +9,7 @@ var minimist = require('minimist')
var path = require('path')
var USAGE = `
$ ${clr('bankai', 'bold')} ${clr('<command> [entry]', 'green')} [options]
$ ${clr('web-compiler', 'bold')} ${clr('<command> [entry]', 'green')} [options]
Commands:
......@@ -27,31 +27,25 @@ var USAGE = `
Examples:
Start a development server
${clr('$ bankai start index.js', 'cyan')}
${clr('$ web-compiler start index.js', 'cyan')}
Visualize all dependencies in your project
${clr('$ bankai inspect index.js', 'cyan')}
${clr('$ web-compiler inspect index.js', 'cyan')}
Compile all files in the project to disk
${clr('$ bankai build index.js', 'cyan')}
${clr('$ web-compiler build index.js', 'cyan')}
For configuration usage, type 'bankai --help config'
Running into trouble? Feel free to file an issue:
${clr('https://github.com/choojs/bankai/issues/new', 'cyan')}
Do you enjoy using this software? Become a backer:
${clr('https://opencollective.com/choo', 'cyan')}
For configuration usage, type 'web-compiler --help config'
`.replace(/\n$/, '').replace(/^\n/, '')
var NOCOMMAND = `
Please specify a bankai command:
${clr('$ bankai', 'cyan')} ${clr('<command>', 'green')}
Please specify a web-compiler command:
${clr('$ web-compiler', 'cyan')} ${clr('<command>', 'green')}
For example:
${clr('$ bankai start', 'cyan')} ${clr('index.js', 'green')}
${clr('$ web-compiler start', 'cyan')} ${clr('index.js', 'green')}
Run ${clr('bankai --help', 'cyan')} to see all options.
Run ${clr('web-compiler --help', 'cyan')} to see all options.
`.replace(/\n$/, '').replace(/^\n/, '')
var CONFIG_USAGE = `
......@@ -59,7 +53,7 @@ var CONFIG_USAGE = `
${clr('Configuration', 'bold')}
Bankai is built on top of compilers for scripts, styles and documents.
@hypha/web-compiler is built on top of compilers for scripts, styles and documents.
Each of them can be configured by adding a field to your project's
package.json file.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment