mariusbalcytis / webpack-bundle

Bundle to Integrate Webpack into Symfony
MIT License
122 stars 36 forks source link

Add descriptions for each command #16

Closed lakhman closed 8 years ago

lakhman commented 8 years ago

Added a description for each command for when running console by itself.

Before:

image

After:

image

Same thing for the console help maba:webpack:dev-server command (help):

Outputs:

$ console help maba:webpack:dev-server 
Usage:
  maba:webpack:dev-server

Options:
  -h, --help            Display this help message
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi            Force ANSI output
      --no-ansi         Disable ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -e, --env=ENV         The Environment name. [default: "dev"]
      --no-debug        Switches off debug mode.
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Help:
 The maba:webpack:dev-server command runs webpack-dev-server as a separate process, it listens on localhost:8080. By default, assets in development environment are pointed to http://localhost:8080/compiled/*.

     ./bin/console maba:webpack:dev-server