代码拉取完成,页面将自动刷新
#!/usr/bin/env bash
#
# +------------------------------------------------------------------------+
# | Phalcon Developer Tools |
# +------------------------------------------------------------------------+
# | Copyright (c) 2011-2015 Phalcon Team (http://www.phalconphp.com) |
# +------------------------------------------------------------------------+
# | This source file is subject to the New BSD License that is bundled |
# | with this package in the file docs/LICENSE.txt. |
# | |
# | If you did not receive a copy of the license and are unable to |
# | obtain it through the world-wide-web, please send an email |
# | to license@phalconphp.com so we can send you a copy immediately. |
# +------------------------------------------------------------------------+
# | Authors: Andres Gutierrez <andres@phalconphp.com> |
# | Eduar Carvajal <eduar@phalconphp.com> |
# | Jakob <@jamurko> |
# +------------------------------------------------------------------------+
#
_phalcon()
{
local cur prev
_get_comp_words_by_ref -n = cur prev
commands="commands list enumerate controller create-controller model \
create-model all-models create-all-models project create-project scaffold \
create-scaffold migration create-migration webtools create-webtools"
case "$prev" in
project|create-project)
COMPREPLY=($(compgen -W "--name --webtools --directory --type --template-path --use-config-ini --trace --help --namespace" -- "$cur"))
return 0
;;
esac
COMPREPLY=($(compgen -W "$commands" -- "$cur"))
} &&
complete -F _phalcon phalcon
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。