Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

how can you apply flags to the command?

For example, I use `ps -ef` a lot, how would I do that with this system?



This seems to work, (ps -ef)().map((a)=>{return [a[0],a[7]]}).forEach((a)=>{console.log(a)})


Ah, put the whole command in parens!

It might make sense to put a note in the README about that, unless it's already there and I missed it somehow...


I am sorry, it slipped from my mind. I will add it now.


Just a note, _iostreamer_, you can use `command.parse` in Vorpal to pre-append parens to every command before it's evaluated (your project is written in Vorpal).

BTW, love this idea.

- the Vorpal guy




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: