@@ -17,10 +17,122 @@ make bash
17
17
18
18
$ composer update
19
19
20
+ #### Help ` yii help `
21
+
22
+ ```
23
+ This is Yii version 2.0.10.
24
+
25
+ The following commands are available:
26
+
27
+ - app @link http://www.diemeisterei.de/
28
+ app/clear-assets Clear [application]/web/assets folder.
29
+ app/setup Initializes application.
30
+ app/show-config Shows application configuration
31
+ app/show-env Shows application environment variables.
32
+ app/version (default) Displays application version from APP_VERSION constant.
33
+
34
+ - asset Allows you to combine and compress your JavaScript and CSS files.
35
+ asset/compress (default) Combines and compresses the asset files according to the given configuration.
36
+ asset/template Creates template of configuration file for [[actionCompress]].
37
+
38
+ - audit Task runner commands for Audit.
39
+ audit/cleanup Cleanup the Audit data
40
+ audit/error-email Email errors to support email.
41
+
42
+ - cache Allows you to flush cache.
43
+ cache/flush Flushes given cache components.
44
+ cache/flush-all Flushes all caches registered in the system.
45
+ cache/flush-schema Clears DB schema cache for a given connection component.
46
+ cache/index (default) Lists the caches that can be flushed.
47
+
48
+ - db MySQL database maintenance command.
49
+ db/create Create MySQL database
50
+ db/dump Dumps current database tables to runtime folder
51
+ db/index (default) Displays tables in database
52
+ db/x-dump EXPERIMENTAL: Schema and/or Data dumps
53
+ db/x-dump-data EXPERIMENTAL: data only dump
54
+
55
+ - fixture Manages fixture data loading and unloading.
56
+ fixture/load (default) Loads the specified fixture data.
57
+ fixture/unload Unloads the specified fixtures.
58
+
59
+ - gii This is the command line version of Gii - a code generator.
60
+ gii/controller Controller Generator
61
+ gii/crud CRUD Generator
62
+ gii/extension Extension Generator
63
+ gii/form Form Generator
64
+ gii/giiant-crud Giiant CRUD
65
+ gii/giiant-extension Giiant Extension
66
+ gii/giiant-model Giiant Model
67
+ gii/giiant-module Giiant Module
68
+ gii/giiant-test Giiant Test
69
+ gii/index (default)
70
+ gii/model Model Generator
71
+ gii/module Module Generator
72
+
73
+ - giiant-batch @author Tobias Munk <[email protected] >
74
+ giiant-batch/cruds Run batch process to generate CRUDs all given tables.
75
+ giiant-batch/index (default) Run batch process to generate models and CRUDs for all given tables.
76
+ giiant-batch/models Run batch process to generate models all given tables.
77
+
78
+ - help Provides help information about console commands.
79
+ help/index (default) Displays available commands or the detailed information
80
+
81
+ - message Extracts messages to be translated from source files.
82
+ message/config Creates a configuration file for the "extract" command using command line options specified
83
+ message/config-template Creates a configuration file template for the "extract" command.
84
+ message/extract (default) Extracts messages to be translated from source code.
85
+
86
+ - migrate Manages application and extension migrations (dmstr/yii2-migrate-command).
87
+ migrate/create Creates a new migration.
88
+ migrate/down Downgrades the application by reverting old migrations.
89
+ migrate/history Displays the migration history.
90
+ migrate/mark Modifies the migration history to the specified version.
91
+ migrate/new Displays the un-applied new migrations.
92
+ migrate/redo Redoes the last few migrations.
93
+ migrate/to Upgrades or downgrades till the specified version.
94
+ migrate/up (default) Upgrades the application by applying new migrations.
95
+
96
+ - resque Class ResqueController
97
+ resque/debug
98
+ resque/enqueue
99
+ resque/inspect
100
+ resque/prune-workers
101
+ resque/status (default)
102
+ resque/work
103
+
104
+ - serve Runs PHP built-in web server
105
+ serve/index (default) Runs PHP built-in web server
106
+
107
+ - translate Command for scanning and optimizing project translations
108
+ translate/help (default) Display this help.
109
+ translate/optimize Removing unused language elements.
110
+ translate/scan Detecting new language elements.
111
+
112
+ - user/confirm Confirms a user.
113
+ user/confirm/index (default) Confirms a user by setting confirmed_at field to current time.
114
+
115
+ - user/create Creates new user account.
116
+ user/create/index (default) This command creates new user account. If password is not set, this command will generate new 8-char password.
117
+
118
+ - user/delete Deletes a user.
119
+ user/delete/index (default) Deletes a user.
120
+
121
+ - user/password Updates user's password.
122
+ user/password/index (default) Updates user's password to given.
123
+
124
+
125
+ To see the help of each command, enter:
126
+
127
+ yii help <command-name>
128
+ ```
129
+
20
130
#### Examples
21
131
22
132
##### Show environment variables (for bash)
23
133
24
134
$ env | sort
25
135
26
- > Note, there may be additional ENV variables available in an application loadedfrom ` src/app.env `
136
+ > Note, there may be additional ENV variables available in an application loadedfrom ` src/app.env `
137
+
138
+
0 commit comments