Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
1a7ce04b
Commit
1a7ce04b
authored
Nov 29, 2013
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Structure for console application docs
parent
55e954b6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
4 deletions
+39
-4
console.md
docs/guide/console.md
+39
-4
No files found.
docs/guide/console.md
View file @
1a7ce04b
Building c
onsole applications
C
onsole applications
====================
=========
====================
TDB
Yii has full featured support of console. Console application structure in Yii is very similar to web application. It
\ No newline at end of file
consists of one or more
[
[\yii\console\Controller
]
] (often referred to as commands). Each has one or more actions.
Usage
-----
User executes controller action using the following syntax:
```
yii <route> [--param1=value1 --param2 ...]
```
For example,
`MigrationController::create`
with
`MigrationController::$migrationTable`
set can be called from command
line like the following:
```
yii migreate/create --migrationTable=my_migration
```
Entry script
------------
Configuration
-------------
Creating your own console commands
----------------------------------
### Controller
### Action
### Parameters
### Return codes
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment