-
Notifications
You must be signed in to change notification settings - Fork 3
Adds pull command #21
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
base: main
Are you sure you want to change the base?
Conversation
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.
Looks great so far!
6565591
to
15bb280
Compare
if (empty($selectedRemoteRecipes)) { | ||
return multiselect( | ||
label: 'Which recipe(s) should I pull?', | ||
options: app(MiseService::class)->allForSelect(), |
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.
OK, so there are a few things I have questions about.
How do we handle:
- Recipes that we already have locally and haven't changed
- Recipes that we already have locally and have changed
- Recipes that we have a local one with the same name but it's not the same
|
||
private function install($key) | ||
{ | ||
info('Installing recipe: ' . $key); |
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.
I'm never totally sure about best practices here, but is there any value in us shipping a hash of the file contents? I know people do that, but I'm trying to figure out if there's any way that helps us in this context.
883c268
to
21d69f3
Compare
Adds a way to pull commands from an api and creates them under the a user's local recipes dir
Demo
mise-demo-speedrun.mp4
Notes
We may want to hold off on this guy until we get the saas app uup and running.