Unverified Commit 94584e2a authored by Bill Haofei Gong's avatar Bill Haofei Gong Committed by GitHub

feat(cakephp3): add compatibility with CakePHP 3.7+ (#11080)

parent aafc7443
# CakePHP 3 basic command completion # CakePHP 3 basic command completion
_cakephp3_get_command_list () { _cakephp3_get_command_list () {
bin/cake Completion commands bin/cake completion commands
} }
_cakephp3_get_sub_command_list () { _cakephp3_get_sub_command_list () {
bin/cake Completion subcommands ${words[2]} bin/cake completion subcommands ${words[2]}
} }
_cakephp3_get_3rd_argument () { _cakephp3_get_3rd_argument () {
...@@ -34,5 +34,5 @@ compdef _cakephp3 cake ...@@ -34,5 +34,5 @@ compdef _cakephp3 cake
#Alias #Alias
alias c3='bin/cake' alias c3='bin/cake'
alias c3cache='bin/cake orm_cache clear' alias c3cache='bin/cake schema_cache clear'
alias c3migrate='bin/cake migrations migrate' alias c3migrate='bin/cake migrations migrate'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment