This website requires JavaScript.
Explore
Help
Sign In
status-im
/
embark-area-51
mirror of
https://github.com/status-im/embark-area-51.git
Watch
2
Star
0
Fork
You've already forked embark-area-51
0
Code
Issues
Projects
Releases
Wiki
Activity
0a139c7b73
embark-area-51
/
bin
/
embark
5 lines
101 B
Plaintext
Raw
Normal View
History
Unescape
Escape
add embark binary
2015-05-24 13:03:43 +00:00
#!/usr/bin/env node
this is a quick attempt at speeding up the init of CLI by changing Embark.js to a reveal module pattern and moving the requires into the functions that need them. It removes the circular reference between Cmd and Embark, which is the biggest hit to speed. It also changes how the binary starts by importing Cmd instead of Embark.
2017-03-10 14:43:52 +00:00
var Cmd = require('../lib/cmd');
var cli = new Cmd();
cli.process(process.argv);