-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: POC for heroku REPL and prompt mode #3176
base: main
Are you sure you want to change the base?
Conversation
This looks really 🔥 . I like how this takes advantage of oclif metadata to deliver value without plugin development overhead. I'm interested in learning how we can iterate on this to allow flexibility for plugin developers to provide their own prompt behavior. If this project goes down that path, I'd love to be an internal tester using our data plugins. 🤙 when the time comes |
4a8f384
to
c3e72a4
Compare
c3c00b6
to
eb8e5f6
Compare
…o feature/interactive-prompt
@@ -39,7 +39,7 @@ ARGUMENTS | |||
EMAIL email address of the team member | |||
|
|||
FLAGS | |||
-a, --app=<value> (required) app to run command against | |||
-a, --app=<value> (required) [default: heroku-vscode] app to run command against |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Watch out for [defaults]
being added in readme files. This is due to having your git remotes connected at the time of using oclif readme
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is annoying....
This PR provides the POC for both Heroku REPL and Heroku "Prompt" modes
Usage:
REPL mode
heroku
with no command or./bin/run
with no args, flags or commands.-- Type commands as per usual
Prompt Mode
use the
--prompt
flag. e.g.heroku apps:create --prompt
-- The cli will ask you for all inputs starting with required flags and args then optional