holgerk/mike

This package is abandoned and no longer maintained. No replacement package was suggested.

mike - make for php without compromises

dev-master 2014-06-15 19:51 UTC

This package is auto-updated.

Last update: 2024-03-31 20:33:04 UTC


README

Install the phar into to your bin directory:

curl -o ~/bin/mike https://raw.githubusercontent.com/holgerk/php-mike/master/build/mike.phar && chmod +x ~/bin/mike

...or using composer:

composer global require holgerk/mike:dev-master

Todos

  • format task list nicely
  • generate and format help
  • Support dependencies
  • zsh autocomplete
  • zsh autocomplete for params
  • bash autocomplete

ZSH-Autocompletion

Add this to your .zshrc

# Mike autocompletion
# ===================
# (http://jaredforsyth.com/blog/2010/may/30/easy-zsh-auto-completion/)
_mike() {
    reply=(`mike -T --no-color | awk 'NR > 0 { print $1 }' | tr "\\n" " "`)
}
compctl -K _mike mike