meteor: fix formatting and reorganise

This commit is contained in:
Marc Cornellà 2018-06-15 23:05:01 +02:00
parent 125dd32361
commit ef1e89b44b

View File

@ -13,38 +13,38 @@ _meteor_installed_packages() {
local -a _1st_arguments local -a _1st_arguments
_1st_arguments=( _1st_arguments=(
"run: [default] Run this project in local development mode." "add-platform:Add a platform to this project."
"debug: Run the project, but suspend the server process for debugging." "add:Add a package to this project."
"create: Create a new project." "admin:Administrative commands."
"update: Upgrade this project's dependencies to their latest versions." "authorized:View or change authorized users and organizations for a site."
"add: Add a package to this project." "build:Build this project for all platforms."
"remove: Remove a package from this project." "claim:Claim a site deployed with an old Meteor version."
"list: List the packages explicitly used by your project." "configure-android:Run the Android configuration tool from Meteor's ADK environment."
"add-platform: Add a platform to this project." "create:Create a new project."
"remove-platform: Remove a platform from this project." "debug:Run the project, but suspend the server process for debugging."
"list-platforms: List the platforms added to your project." "deploy:Deploy this project to Meteor."
"build: Build this project for all platforms."
"lint: Build this project and run the linters printing all errors and warnings."
"shell: Launch a Node REPL for interactively evaluating server-side code."
"mongo: Connect to the Mongo database for the specified site."
"reset: Reset the project state. Erases the local database."
"deploy: Deploy this project to Meteor."
"logs: Show logs for specified site."
"authorized: View or change authorized users and organizations for a site."
"claim: Claim a site deployed with an old Meteor version."
"login: Log in to your Meteor developer account."
"logout: Log out of your Meteor developer account."
"whoami: Prints the username of your Meteor developer account."
"test-packages: Test one or more packages."
"admin: Administrative commands."
"list-sites: List sites for which you are authorized."
"publish-release: Publish a new meteor release to the package server."
"publish: Publish a new version of a package to the package server."
"publish-for-arch: Builds an already-published package for a new platform."
"search: Search through the package server database."
"show: Show detailed information about a release or package."
"install-sdk:Installs SDKs for a platform." "install-sdk:Installs SDKs for a platform."
"configure-android:Run the Android configuration tool from Meteors ADK environment." "lint:Build this project and run the linters printing all errors and warnings."
"list-platforms:List the platforms added to your project."
"list-sites:List sites for which you are authorized."
"list:List the packages explicitly used by your project."
"login:Log in to your Meteor developer account."
"logout:Log out of your Meteor developer account."
"logs:Show logs for specified site."
"mongo:Connect to the Mongo database for the specified site."
"publish-for-arch:Builds an already-published package for a new platform."
"publish-release:Publish a new meteor release to the package server."
"publish:Publish a new version of a package to the package server."
"remove-platform:Remove a platform from this project."
"remove:Remove a package from this project."
"reset:Reset the project state. Erases the local database."
"run:[default] Run this project in local development mode."
"search:Search through the package server database."
"shell:Launch a Node REPL for interactively evaluating server-side code."
"show:Show detailed information about a release or package."
"test-packages:Test one or more packages."
"update:Upgrade this project's dependencies to their latest versions."
"whoami:Prints the username of your Meteor developer account."
) )
local expl local expl
@ -64,4 +64,4 @@ case "$words[2]" in
add) add)
_meteor_all_packages _meteor_all_packages
_wanted packages expl 'all packages' compadd -a packages ;; _wanted packages expl 'all packages' compadd -a packages ;;
esac esac