Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 07 18:06
    orpheus commented #343
  • Oct 31 00:31
    rbndg commented #345
  • Oct 31 00:30
    rbndg commented #345
  • Oct 25 15:07
    davidnussio commented #312
  • Oct 22 13:19
    havenchyk commented #308
  • Oct 12 23:57
    garrytrinder commented #311
  • Oct 09 11:35
    tsujp commented #312
  • Oct 09 11:08
    slinkardbrandon commented #312
  • Oct 09 11:07
    slinkardbrandon commented #312
  • Oct 09 08:57
    tsujp commented #312
  • Oct 03 22:35
    Berkmann18 synchronize #343
  • Oct 03 10:52
    Berkmann18 synchronize #343
  • Oct 03 10:47
    Berkmann18 synchronize #343
  • Oct 03 10:43
    Berkmann18 commented #343
  • Oct 03 04:22
    superliuwr commented #343
  • Sep 17 19:44
    icebob commented #331
  • Aug 27 18:07
    antoinechalifour opened #345
  • Aug 19 17:31
    igorclark commented #344
  • Aug 09 00:30
    milesj removed as member
  • Jul 10 21:38
    whatsdis opened #344
Tristan Matthias
@tristanMatthias

Hi guys! Noob question here. I've done a bit of digging, and can't find the answer.

Does vorpal support prompts in vorpal.parse() mode?

Pete Johanson
@petejohanson
@dthree and all: Is there a compelling reason vorpal can't support sending multiple instance.log entries to the 'stdin' of the downstream command?
And I'm wondering why a certain downstream gets triggered immediately on logging, as opposed to upon completion of the upstream command via callback invocation?
I'm needing multi-line output/input processing.
So far, I can combine all my output into one inst.log call, and get it on the downstream command, but then when my upstream command doesn't get piped, you get this single line wall of text, instead of reasonable multiple lines of output displayed on-screen.
Tejus Pratap
@tejzpr
Hi
How do I show a welcome banner with Vorpal?
nvm :)
Adrian (Grim) Roach
@TheGrimSilence
I just made a console log before the vorpal instance was started
Tejus Pratap
@tejzpr
I did that too :shipit:
Tejus Pratap
@tejzpr
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
@nikhiljha
Is there an easy way to add a confirmation to a command with vorpal?
Other than this.prompt([ and callbacks
Meowingtons
@eth_maximalist_twitter
hello, how do I add default command? .command().action(() => foo())
with empty string
Zach Moss
@zachmoss1
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?
BarnyRebal
@barnyrebal
hi, new to vorpal, just a little question:
is it possible the exit problematically?
BarnyRebal
@barnyrebal
already find - vorpal.exec('exit');
thanks :)
lexiea
@lexiea
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?
robertoamoreno
@robertoamoreno
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
donaldej
@donaldej
what features you need
deathsparrow101
@deathsparrow101
how can i place my logic in a separate file
and how can i handle errors typed in
Tony
@ajklotz
Will there be any progress on #303 to fix the ui.submit() function?
Tony
@ajklotz
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
@fmiras
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
@boris317
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
@ildella

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
@hongaar
: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
@hongaar
I noticed there are quite some changes in the v2 branch...
Sean Templeton
@LordZardeck
Is there anyway with vorpal to achieve the same effect that an application like top does with consuming the entire terminal with updating content?
Raphael
@sundowndev
Hi
is it normal the npm package wasn't published for 2 years ?
author have to sync with the git repo
Jérôme Loï
@gorhgorh
it seem the project is not moving much anymore
@sundowndev
Brandon Slinkard
@slinkardbrandon

dthree/vorpal#328

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
@AdrieanKhisbe
@slinkardbrandon I might be interested into it :)
I some month ago open a series of issue to consider with refactor and associated 2.0
https://github.com/dthree/vorpal/issues/created_by/AdrieanKhisbe
Brandon Slinkard
@slinkardbrandon

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.