dthree / dthree/vorpal

Terminal window becomes busy

Open
#269 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.6k
Forks
278
PR merge metrics
No merged PRs in 30d

Description

Hi,
I am trying below sample code on my MAC
`
#!/usr/bin/env node

const vorpal = require('vorpal')();

vorpal
.command('say [words...]')
.option('-b, --backwards')
.option('-t, --twice')
.action(function (args, callback) {
let str = args.words.join(' ');
str = (args.options.backwards) ?
str.split('').reverse().join('') :
str;
this.log(str);
callback();
});

vorpal.show();`

after that I did **npm link** to set it in global,

when I executed js-cli the terminal window becomes busy,
![image](https://user-images.githubusercontent.com/8503650/28226780-fb961292-68f4-11e7-8ee4-de18c26af2ed.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.