sulu-docker
sulu-docker copied to clipboard
[idea] create a sulu-cli tool
Hey, I think it could be nice to have a cli tool in order to setup project, run our stack, manage sulu app...
For instance here is a list of command the cli tool will handle:
-
sulu-cli install
: execute composer create-project "sulu/sulu-minimal" app and other stuff to install a sulu new app -
sulu-cli start
: Detect you OS and launch the correct stack (docker-sync + docker-compose.{os}) -
sulu-cli stop
: Stop the current running stack -
sulu-cli exec sulu:build dev --destroy
: execute a Sulu command -
sulu-cli fix-permission
: fix permissions if it's needed - ...
I think we can develop this sulu-cli tool in Python or NodeJs or Golang.
What do you think about this?
i prefer symfony/console
and phar files (see setup here https://github.com/nanbando/core) but the idea is great :)
or simply a bashscript suggested by @tomkeur on slack
i have currently no idea how this should work but the resulting script looks quite handy https://github.com/shipping-docker/vessel