Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 05 02:04
    sweethuman commented #343
  • Apr 04 21:13
    Berkmann18 commented #343
  • Mar 21 01:46
    sweethuman commented #332
  • Mar 20 01:53
    bradytsai commented #332
  • Feb 27 22:07
    prmichaelsen opened #348
  • Feb 27 20:35
    trusktr edited #347
  • Feb 27 20:35
    trusktr opened #347
  • 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
Adrien Becchis
@AdrieanKhisbe
If we go that way, we could state and communicate the approach with an issue on the vorpal repo
Brandon Slinkard
@slinkardbrandon
I would like that, Gitter is nice too so we'd be able to monitor both but Slack for active participants in the reforging could be very useful.
Adrien Becchis
@AdrieanKhisbe

I have an open PR for adding TSLint & Prettier into Ore's fork

If i'm not mistaken you have open the PR on the original repo

I would like that, Gitter is nice too so we'd be able to monitor both but Slack for active participants in the reforging could be very useful.

Thats what I meant, gitter for the user community, slack for the builders (with integrations to github, travis, and else)

Brandon Slinkard
@slinkardbrandon
Yeah it does look like I opened the PR to Dthree/Vorpal. Oops
Adrien Becchis
@AdrieanKhisbe
:)

@hongaar

:wave: hi all. Is anybody aware if a coordinated attempt to keep vorpal alive?

Would you be open to be part of it? :)

Brandon Slinkard
@slinkardbrandon
I reserved a channel for Vorpal. Invite Link. I do worry that since the community is fairly small, I don't want to split us further or make it appear that there is no work in progress though.
Joram van den Boezem
@hongaar
@AdrieanKhisbe @slinkardbrandon yes let's do it! We recently looked at oclif, but decided to stay with vorpal for now because of its features. Very open to help with a revival!
Adrien Becchis
@AdrieanKhisbe
@hongaar Awesome! :)
Ore Landau
@Ore4444
Hi @AdrieanKhisbe @slinkardbrandon @hongaar
I moved my fork to the GitHub org @slinkardbrandon created.
@dthree created for us an open PR to their repo from branch 2.0-ts, so all work should be done on that branch. dthree/vorpal#328
@slinkardbrandon, I don't see your PR. Maybe it was removed when I migrated the repo to new org?
I think since the community is here, we should keep discussion in this Gitter. Might be nice to have a dedicated room dthree/vorpal-reforge for the effort.
_DRAFT__TypeScript_Vorpal_by_Ore4444_·_Pull_Request__328_·_dthree_vorpal.png
Brandon Slinkard
@slinkardbrandon
I think you don’t see my branch because I accidentally opened the PR to dthree’s 2.0-ts branch. I’ll see if I can get that fixed today. We did make the slack channel so we can get some integrations going but to prevent the team from getting split I think we need to remain vigilant of Gitter too.
Brandon Slinkard
@slinkardbrandon
We had a different Org set up vorpaljs-reforged that we ended up getting more people to join up with. I just made PRs from my org to the community with the larger org. I'll be sure to close mine down to prevent the segregation in the future.
Brandon Slinkard
@slinkardbrandon
I think as part of the reforge we should also replace mocha with jest 24
Brandon Slinkard
@slinkardbrandon
Made the PR to handle the jest conversion :)
Brandon Slinkard
@slinkardbrandon
After converting to jest and enabling coverage reporting I realized we have about 50% coverage. (Also none of the tests are using mocks, they’re mostly integration style tests). As a future PR we should start refactoring the tests to be actual unit tests and shoot for as close to 100% coverage as we can get without coding our src for our tests.
Brandon Slinkard
@slinkardbrandon
To draw attention to the above I also implemented coveralls with that PR.
kalks21
@kalks21
Hi!!
is possible with Vorpal command
connect to WS socket
and display "messages" in screen
but the command line available ?
kalks21
@kalks21
is impossible "detach" the command... anyone can help me?
Jason Schwarzenberger
@master5o1
how to prevent the process.exit() from happening on .parse()?
also, how can i capture the output to a string rather than the console?
(context: i am trying to use this to build a command line for a telegram bot.)
Jason Schwarzenberger
@master5o1
i think i'm ok now.
Stramaz
@stramaz_twitter
Hello all, just a question. is it possible to run vorpal command that execute a background process/service, exiting from application/vorpal, connecting later again in a second and attach to the previous "process"?
I.e.: Running some vorpal commands (than running one or more background processes), exit from shell/ssh, connecting again running again the application and "reconnecting" so I can "resume" the UI and interact with the previous started processes? I hope I was clear. Thanks!
donaldej
@donaldej
You would likely want to use IPC/sockets to connect/re-connect with some long running process you have spawned.
Stramaz
@stramaz_twitter
Yes, something like this. For example, I run via vorpal command a bot (ie: a trading bot), a service in background, later on I can run again the vorpal application and interact with that service running other vorpal commands (see stats, check progress, stop bot, change configuration, restart it)
Paule Paul
@paule32
hello#
how can i embed vorpal in website?
Graham Holden
@TripeHound
Just started using Vorpal and got the basics in place... node myapp.js will open an interactive session and prompt for commands; node myapp.js mycmd myarg will run a command and return to the command-prompt. Is there a way of giving one or more commands on the command-line and then switching to accepting commands interactively? At the moment, after command-definition, I've got vorpal.parse( process.argv ).show() ;. TIA
Reservjesus
@grouchexmachina_twitter
So how dead is vorpal.js? Or is there a viable fork somewher
Robert Kraig
@robertkraig
is it possible to write a vorpal cli without being stuck in the event loop? like.. node cli.js mycommand:name --argument
Nokko
@nok-ko
hrrgh. why do my commands uh, say their name?
[nodemon] starting `node index.js`
listening on port 3000
op$ help
op$ help

  Commands:

    help [command...]  Provides help for a given command.
    exit               Exits application.
    say <message>      Sends a `serverchat` to the connected clients.

op$
the second help isn't me typing it in
eugh
Katharsis
@yakuzadave
Quick question. I was looking to have the commands separated into their own files and stored in a "commands" folder. Has anyone found a good way to do this?
Katharsis
@yakuzadave
Never mind, I figured out an easy way. Just used require-all and _.forOwn with vorpal.use
const commands = require('require-all')(__dirname + '/commands');
const _ = require("lodash")
_.forOwn(commands, function(value, key) {
  vorpal.use(value)
});
Joe Pea
@trusktr
Does Vorpal not have a way to do that automatically based on the command specified via the CLI? (I'm new here). Importing all the commands all at once is less performant than just importing the specific command that the user wants to execute. It will evaluate all the modules instead of just one. With various alternatives to Vorpal (commander.js, Caporal, sywac, etc) I've noticed much speed up in just importing specific modules only.
@yakuzadave ^
Katharsis
@yakuzadave
Well, I thought that I could do vorpal.use(commands) but it wasn't liking that way, so I used this method and it requires much less setup.

each command just follows this format:

module.exports = function(vorpal, options){
    // insert vorpal command here
}
was following this bit of the docs as a guide:
https://github.com/dthree/vorpal/wiki/Docs-%7C-Creating-Extensions