$ probot console
See original GitHub issueI 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.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:5 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Wait a minute, @stale. I like this idea.
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.