Craft Cloud utility CLI commands through Craft Cloud Yii extension #46
jamesmacwhite
started this conversation in
Feature Requests & Enhancements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Several feature requests like asset syncing, database backups would likely benefit from being implemented by providing Craft Cloud CLI utility commands through the Craft Cloud Yii Extension that could ship CLI commands with it.
This could provide both a bridge between local environments and Craft Cloud environments along with running directly on Craft Cloud environments depending on the command action.
Several open/active discussions bring up functionality or features which could be suited to CLI commands.
Examples include:
This could be implemented through commands like:
The inspiration is something like https://github.com/fortrabbit/craft-copy, which provides a bridge between the local environment and the Fortrabbit environment.
There would likely need to be a way to config some form of yaml file to keep track of the configured Craft Cloud environments to target commands at, this could be the craft-cloud.yaml or something else, but likely needed especially if doing multiple environments i.e. staging, production, potentially wanting to target a specific Craft Cloud environment.
Beta Was this translation helpful? Give feedback.
All reactions