Skip to content

Commit 72f9c0c

Browse files
committed
update ...
1 parent 7953a60 commit 72f9c0c

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

src/BuiltIn/GenController.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ class GenController extends Controller
1919
protected static $name = 'gen';
2020
protected static $description = 'generate code template file tool.';
2121

22+
protected static function commandAliases()
23+
{
24+
return [
25+
'ac' => 'autoComplete'
26+
];
27+
}
28+
2229
/**
2330
* generate a alone console command class
2431
*/
@@ -34,4 +41,14 @@ public function groupCommand()
3441
{
3542

3643
}
44+
45+
/**
46+
* generate a bash/zsh auto-completion script file for current application.
47+
* @options
48+
* --env linux shell env name. allow: bash,zsh
49+
*/
50+
public function autoCompleteCommand()
51+
{
52+
53+
}
3754
}

src/BuiltIn/Resources/templates/alone-command.tpl

Whitespace-only changes.

src/BuiltIn/Resources/templates/group-commands.tpl

Whitespace-only changes.

0 commit comments

Comments
 (0)