Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • Jan 22 16:17
    ronnystarkware commented #346
  • Jan 19 16:14
    ronnystarkware opened #346
  • Dec 17 2019 11:25
    laurent22 commented #334
  • Dec 17 2019 11:22
    arthurafarias commented #259
  • Dec 17 2019 11:19
    arthurafarias commented #259
  • Nov 07 2019 18:06
    orpheus commented #343
  • Oct 31 2019 00:31
    rbndg commented #345
  • Oct 31 2019 00:30
    rbndg commented #345
  • Oct 25 2019 15:07
    davidnussio commented #312
  • Oct 22 2019 13:19
    havenchyk commented #308
  • Oct 12 2019 23:57
    garrytrinder commented #311
  • Oct 09 2019 11:35
    tsujp commented #312
  • Oct 09 2019 11:08
    slinkardbrandon commented #312
  • Oct 09 2019 11:07
    slinkardbrandon commented #312
  • Oct 09 2019 08:57
    tsujp commented #312
  • Oct 03 2019 22:35
    Berkmann18 synchronize #343
  • Oct 03 2019 10:52
    Berkmann18 synchronize #343
  • Oct 03 2019 10:47
    Berkmann18 synchronize #343
  • Oct 03 2019 10:43
    Berkmann18 commented #343
  • Oct 03 2019 04:22
    superliuwr commented #343
I just made a console log before the vorpal instance was started
Tejus Pratap
I did that too :shipit:
Tejus Pratap
Using console.log ended up having issues in Windows. Had to use vorpal.log() which is the recommended method. https://github.com/dthree/vorpal/wiki/API-%7C-vorpal#vorpallogstring-strings
Nikhil Jha
Is there an easy way to add a confirmation to a command with vorpal?
Other than this.prompt([ and callbacks
hello, how do I add default command? .command().action(() => foo())
with empty string
Zach Moss
I would like to run the vorpal REPL with the context of my app (the same way as with .load in node's repl). Can this be done?
hi, new to vorpal, just a little question:
is it possible the exit problematically?
already find - vorpal.exec('exit');
thanks :)
Hi everyone, I'm quite new to vorpal and a bit confused and I haven't found my answer in the wiki. If I make a new command Like this: vorpal
.command('target', 'Set or clear target for session.')
.option('-s --set <target>', 'Sets a target for session.')
.option('-c --clear', 'Clears target which was set before.')
.option('-v --view', 'Shows set target.') How do I check which option the user chose? I mean I can find the chosen target with args["options"]["set"] but how do I check for example if the user typed target -t and then forgot to give a target?
Any freelancers there have time to build me a interactive cli, that talks to DIG, DNS, AWS(CLi). Basically a tool for our support people to do some maint/checking
what features you need
how can i place my logic in a separate file
and how can i handle errors typed in
Will there be any progress on #303 to fix the ui.submit() function?
I'm using vorpal.activeCommand.prompt() and passing in an object of questions. In one of the questions, I want to validate the input. To validate the input, I want to make an API call to grab some JSON data and check to make sure that the answer is in the JSON data.
How can I do this? I seem to run into a timing issue if I try to return a promise inside the validate callback
Federico Miras
Hello guys, how are you? I'm dealing with a possible bug of vorpal that idk how to solve
I'm using a command (say that 'mainCommand') and an alias
when I use cli help mainCommand it successfully display me the flags and options that are allowed for that subcommand
but when i use cli help alias it says that is an invalid command and doesn't shows anything
anyone knows how to solve this?
Shawn Adams
I couldn't find this answer anywhere. How do I send output to stderr? I only see this.log. In the same vein how do I supply an exit status code?
Daniele Dellafiore

Hi. Just started using vorpal. As It does not seem possible to have "shell experience" with commander alone and I also need some inquirer style questions, vorpal seem perfect as gives me 1) shell prompt commands written with a commander-like api 2) use inquirer to make questions 3) extensibility

Hope someone still hangs out here :)

Joram van den Boezem
:wave: hi all. Is anybody aware if a coordinated attempt to keep vorpal alive?
Would love to chip my time to solve some of the outstanding issues and work on some new features.
Joram van den Boezem
I noticed there are quite some changes in the v2 branch...
Sean Templeton
Is there anyway with vorpal to achieve the same effect that an application like top does with consuming the entire terminal with updating content?
is it normal the npm package wasn't published for 2 years ?
author have to sync with the git repo
Jérôme Loï
it seem the project is not moving much anymore
Brandon Slinkard


Anyone looking to revive Vorpal is more than welcome to help with this migration to typescript. There is a fork that we could possibly make a good faith effort push on.

Adrien Becchis
@slinkardbrandon I might be interested into it :)
I some month ago open a series of issue to consider with refactor and associated 2.0
Brandon Slinkard

That would be great. I do wonder what the best way to revive a project is, as I've never actually taken part in a rewrite / revival. I feel as if it's hard for a lot of people to find the attempt to revive though since it's not super active yet. I'd really like to help get it going though, both for myself and my company (as we depend on vorpal for our cli tooling).

I like your ideas too, could be worth bringing up in the rewrite PR. I think a lot of the PRs are getting ignored right now.

I'm not sure how we can go about getting an issues board on Ore4444's fork, can we? I haven't tried to revive a project before so I'm not entirely sure how that works.
Adrien Becchis
@slinkardbrandon Good question you are raising.
If only I had the answer ^^
I'm not sure how we can go about getting an issues board on Ore4444's fork, can we?
I'm not sure what you are trying to say
What I think, is that we could work on a fork, on which we would have kind of "free hands", with it's ow PR, and once we are good to go, we open the PR to merge back to original vorpal
If we try to revive vorpal, maybe the best place to host the work would be on the vorpaljs organisation, but I'm not sure who is managing it right now
Brandon Slinkard
I have an open PR for adding TSLint & Prettier into Ore's fork. If I don't see any response on it we may have to make a separate fork just to get the active fork rolling. (Or like you just suggested, maybe work out of their org if we could get access)
Adrien Becchis
also @slinkardbrandon, I tend to think that a open slack could be usefull, with several channels, in which we would welcome people interested into reforging the vorpal
If we go that way, we could state and communicate the approach with an issue on the vorpal repo