dthree / vorpal

Node's framework for interactive CLIs
http://vorpal.js.org
MIT License
5.64k stars 280 forks source link

Auto-complete when typing piped commands #22 #27

Closed scotthovestadt closed 9 years ago

scotthovestadt commented 9 years ago

I've tested to ensure no behavior is broken. Specifically, the calculator example app works with tabbed autocompletion, and the "tab to double number" works even in pipes.

I'm not sure how to write tests for the tabbed autocompletion since none exist for the existing functionality already.

All of the passing tests continue to pass.

dthree commented 9 years ago

Thanks! Looks good on cursory glance - I want to make sure it doesn't break more detailed use of autocompletion, such as on wat, which does some crazy things.

Could you rebase your branch with the linting I put in, and I'll try to get this merged as soon as possible!

scotthovestadt commented 9 years ago

Canceling PR so I can rebase