sulu-docker icon indicating copy to clipboard operation
sulu-docker copied to clipboard

[idea] create a sulu-cli tool

Open Nightbr opened this issue 6 years ago • 3 comments

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?

Nightbr avatar Nov 13 '17 11:11 Nightbr

i prefer symfony/console and phar files (see setup here https://github.com/nanbando/core) but the idea is great :)

wachterjohannes avatar Nov 13 '17 12:11 wachterjohannes

or simply a bashscript suggested by @tomkeur on slack

Nightbr avatar Nov 13 '17 13:11 Nightbr

i have currently no idea how this should work but the resulting script looks quite handy https://github.com/shipping-docker/vessel

wachterjohannes avatar Nov 13 '17 14:11 wachterjohannes