Yii has full featured support of console. Console application structure in Yii is very similar to web application. It
Yii has full featured support for console applications, whose structure is very similar to a Yii web application. A console application
consists of one or more [[yii\console\Controller]] (often referred to as commands). Each has one or more actions.
consists of one or more [[yii\console\Controller]] classes, which are often referred to as "commands" in the console environment. Each controller can also have one or more actions, just like web controllers.
Usage
Usage
-----
-----
You can execute controller action using the following syntax:
You execute a console controller action using the following syntax: