PHP Classes

File: phady-completion.bash

Recommend this page to a friend!
  Classes of Alien Fernandez   Phady Developer Tools   phady-completion.bash   Download  
File: phady-completion.bash
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Phady Developer Tools
Simplify using Phady Zephir framework from PHP
Author: By
Last change:
Date: 8 years ago
Size: 467 bytes
 

Contents

Class file image Download
# Bash completion for phady-devtools, _phady() { local cur prev _get_comp_words_by_ref -n = cur prev commands="commands list enumerate controller create-controller project create-project" case "$prev" in project|create-project) COMPREPLY=($(compgen -W "--name --directory --type --template-path --use-config-yml --trace --help --namespace" -- "$cur")) return 0 ;; esac COMPREPLY=($(compgen -W "$commands" -- "$cur")) } && complete -F _phady phady