consoleappgenerator

Simple Console App Generator
3 followers

This extension adds the ability to generate a separate console application.
Essentially a modified console commands webapp, which is part of the framework.
The archive includes the expansion of the class Yii, make working code completion in the IDE, as well as the expansion of EConsoleCommand, for easy change of color output to the console.

Requirements

This extension requires Yii 1.1.x.
EConsoleCommand (Included in the archive)

Usage

Unpack the archive into a directory with the framework

yiic consoleapp <path>
yiic consoleapp /opt/test-app
Create a Console application under '/opt/test-app'? (yes|no) [no]:y
      mkdir /opt/test-app
   generate .htaccess
      mkdir /opt/test-app/commands
   generate commands/TestCommand.php
      mkdir /opt/test-app/components
   generate components/ConsoleApplication.php
   generate components/EConsoleCommand.php
   generate components/WebApplication.php
   generate components/Yii.php
      mkdir /opt/test-app/config
   generate config/console.php
   generate yiic
   generate yiic.bat
   generate yiic.php
 
Your application has been created successfully under /opt/test-app.

Resources

EConsoleCommand

Be the first person to leave a comment

Please to leave your comment.

Create extension