Forum post: https://localbyflywheel.com/community/t/start-site-through-command-line/1534/5
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!
Hi all, this is something we'll be exploring in Q2 this year!
Local API / Command Line - Yes Please!
@Thomas Barrett: Local's CLI will start by making push/pull available via CLI. What other commands would be on your shortlist?
@Jack Sellwood: Hi!
The top 3 things I would like are:
- Create a new instance
- Interrogate instance
- Export instance
The goal being to:
- Create and configure a new BitBucket/GitHub repo
- Create a new local instance (shortlist #1)
- Pull the repo code into Local instance
- Update the Local DB (short #2 - setting up correct shell for wp cli)
- Export Local and upload to backup location (shortlist #3)
I have reached out to the team to see if they have any further suggestions.
Being able to restart from the command line.
Some of our onboarding might need a small tweak to the nginx config, being able to automate that would be useful.
Actually one of those tweaks might make for a simple add-on ?