question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I used to use script/console a lot to experiment with GitHub API calls. I stoped using it over time, primarily because Probot switched away from using a bot token to use GitHub Apps and there were often APIs that would work with a token and then not work for GitHub Apps.

It’d be cool to add $ probot console as a command you could run from any Probot app that would give you an interactive node console with some stuff pre-wired, including an authenticated client to test out API calls.

cc https://github.com/probot/probot/pull/468

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
zekecommented, May 17, 2018

Wait a minute, @stale. I like this idea.

1reaction
JasonEtcocommented, Mar 18, 2018

This is a great idea - in my todo app, I have a CLI script that calls the app code with a fake event (but on potentially real data), and stubs out the relevant GitHub client methods to write to stdout instead of actually making POST requests. It’s obviously very tailored to what I need in an event, so I’m just sharing it as a little bit of prior art.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ProBot Commands
Welcome images, moderation, leveling, reaction roles, logs, high quality music and many many more!
Read more >
ProBot - Discord Bots
Welcome images, voice/text levels per guild, global levels, logs, high quality music, moderation and many many more!
Read more >
Logging - Probot
Logging. Probot comes with pino , a minimal logging library that outputs newline delimited JSON. Probot uses pino-pretty for more readable formatting during ......
Read more >
Playing Music with ProBot - 2021 User Guide - YouTube
One of ProBot's many features is its ability to play music on Discord. Lets check it out and see how well it works,...
Read more >
How to correctly use server to start probot #1608 - GitHub
I'm considering add serveral custom route in probot , so I decided to use ... console.log("test") const server = new Server({ Probot: Probot.defaults({ ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found