A console controller consists of one or several actions known as sub-commands.
Users call a console command by specifying the corresponding route which identifies a controller action.
The yii program is used when calling a console command, like the following:
~~~
yii [--param1=value1 --param2 ...]
~~~
where is a route to a controller action and the params will be populated as properties of a command.
See Controller::options for details.