inviqa / dock-cli

Dock CLI
MIT License
39 stars 14 forks source link

Run commands with options #67

Closed sroze closed 9 years ago

sroze commented 9 years ago

Right now, with the feature introduced by #56 we can't run commands that have options without using the -- separator.

$ dock-cli run -s authenticator app/console doctrine:schema:update --dump-sql

  [RuntimeException]
  The "--dump-sql" option does not exist.

run [-s|--service SERVICE] [--] [<service_command>]...

While this command will work:

$ dock-cli run -s authenticator -- app/console doctrine:schema:update --dump-sql

We may want to be able to run commands even without the --.

sroze commented 9 years ago

Tweaking the Symfony's Console component for that is maybe to much, the -- usage is not a big problem for now.