consoleappgenerator Simple Console App Generator

  1. Requirements
  2. Usage
  3. Resources

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

1 0
3 followers
401 downloads
Yii Version: Unknown
License: MIT
Category: Console
Developed by: nek
Created on: Sep 25, 2013
Last updated: 11 years ago

Downloads

show all

Related Extensions