_meteor 1000 B

1234567891011121314151617181920212223242526272829303132
  1. #compdef meteor
  2. #autoload
  3. # Meteor Autocomplete plugin for Oh-My-Zsh, based on homebrew completion
  4. # Original author: Dimitri JORGE (https://github.com/jorge-d)
  5. local -a _1st_arguments
  6. _1st_arguments=(
  7. 'run:[Default] Run this project in local development mode'
  8. 'create:Create a new project'
  9. 'update:Upgrade this project to the latest version of Meteor'
  10. 'add:Add a package to this project'
  11. 'remove:Remove a package from this project'
  12. 'list:List available packages'
  13. 'help:Display Meteor help'
  14. 'bundle:Pack this project up into a tarball'
  15. 'mongo:Connect to the Mongo database for the specified site'
  16. 'deploy:Deploy this project to Meteor'
  17. 'logs:Show logs for specified site'
  18. 'reset:Reset the project state. Erases the local database.'
  19. 'test-packages:Test one or more packages'
  20. )
  21. if (( CURRENT == 2 )); then
  22. _describe -t commands "meteor subcommand" _1st_arguments
  23. return
  24. fi
  25. case "$words[2]" in
  26. help)
  27. _describe -t commands "brew subcommand" _1st_arguments
  28. esac