37
Local CLI
in progress
J
Jack Sellwood
Activity Feed
Sort by
Greg Mihalko
Adding push/pull functionality and a way to easily switch between staging and production would be a great addition to this feature!
Mats Svanteman
Clay Griffiths: Hi! Has there been any development on this Feature Request? I see latest version is a year old.
I'd like the features that Kristian here is describing. But mostly the ability to start a site from its folder without having to list the sites and copy the ID. Just cd to the folder and get it started with local-cli start-site.
M
Mikey Binns
Would love to see support for Windows, and also, I'd like to see it launch local if it is not already running, as it kind of defeats the purpose of using the CLI if I have to manually launch the program before it works.
Kristjan Koppel
Clay Griffiths: Thanks Clay! I will try it out.
But what about some kind of config file that would hold the project info like url, php version, mysql version and so on? That it would be easier to share configurations between developers. So when i pass the project on that other developer would have environment with same configuration.
Should we make separate feature request for that or post this into some Github issue?
config file + cli commands would be super useful and quick. I would then just take my project from git repo and write "local-cli start-site" and i'm on. I dont want to spend time to configure project in GUI :)
Alexander Celeste
It is great to see that progress is being made on this! I've updated my old lbf-container script to wrap the CLI so that you don't need to pass the Site ID manually: https://bitbucket.org/alexclst/lbf-container/src/main/. Something like that built in to the CLI would be awesome, as would, frankly, a shorter command name. But for now, I'll just use my script as a wrapper. I look forward to seeing this command improve.
Clay Griffiths
Hi all, we have an experimental CLI for Local that's now available.
It can be installed via NPM: https://www.npmjs.com/package/@getflywheel/local-cli
We're curious to hear how it works for you and what commands you want to see next. 😃
Clay Griffiths
Hi Kristjan Koppel, thanks for checking in! This is in progress as we have an experimental CLI that's available.
Kristjan Koppel
Clay Griffiths What's the status with this feature request? It has more votes than some other requests and it havent moved to "In progress". 2020 and Q2 is already passed.
This is only thing that holds me from switching from Lando. I need to be able to put config file to Git and have always the same environment built from that config file. And all those reason what Carsten mentioned in original post.
Carsten Jaksch
I'd like to have an import tool that respects the project structure.
For example: I have a project with app/public, app/sql (both get imported) but with additional files/folders in the root directory.
Like a git repository, wp-cli config and composer.json files. Those get NOT imported (by drag-drop).
I hope the CLI will allow for custom project structures. Maybe let us tell Local where to find WordPress/database, and where to place Local-specific things such as conf and logs.
Thanks for that great tool!
Clay Griffiths
Hi all, this is something we'll be exploring in Q2 this year!
Load More
→