You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With interactive mode, there is a ton of exciting opportunities here! I could see something being useful with being able to input arbitrary values to inject into the command, and even with typeahead prompts!
// config/solo.php'Show Table' => Command::from('php artisan db:table :tablename')
->withInput('tablename', ['default', 'promptable', 'values'])
//->withInput('tablename', collect($schema->getTables())) -- could accept any Traversable
->lazy(),
I am super excited at the prospect of interactive mode and hope that we get more functionality exposed to us to leverage it more.
I do think I could follow the solo:make command to achieve what I want, but it could be nice to simplify that exposure a bit as well.
The text was updated successfully, but these errors were encountered:
Yes, I've been toying around with a concept to see if I can get it to work. Right now I'm taking the prompted input and then dropping it into the pending process command similar to your make command, however, it gets grumpy on the next loop and starts scrolling all over the place on interactive mode after I output the db:table {$input} -- but I'm having a ton of fun playing around with it!
After returning my initial call, interactive mode isn't as happy.
Still learning more about prompts and how it all works, so I'm sure I'm missing something.
After playing around with this more, it seems like other things seem to break in this way. However, if I clear the output and then restart the command again, it seems okay. I wonder if there is a way to auto-clear the tab on (re)start 🤔
With interactive mode, there is a ton of exciting opportunities here! I could see something being useful with being able to input arbitrary values to inject into the command, and even with typeahead prompts!
I am super excited at the prospect of interactive mode and hope that we get more functionality exposed to us to leverage it more.
I do think I could follow the
solo:make
command to achieve what I want, but it could be nice to simplify that exposure a bit as well.The text was updated successfully, but these errors were encountered: