From 2647a8ccfd8beebda0d5362fd3ec610dda8d6441 Mon Sep 17 00:00:00 2001 From: Yann VR Date: Fri, 15 Jun 2018 20:40:31 +0100 Subject: [PATCH] Meteor-1-2 arguments update (#4538) Fixes #4280 Fixes #4321 --- plugins/meteor/_meteor | 43 +++++++++++++++++++++++++++++------------- 1 file changed, 30 insertions(+), 13 deletions(-) diff --git a/plugins/meteor/_meteor b/plugins/meteor/_meteor index cd7fc304f..69ac7a1b7 100644 --- a/plugins/meteor/_meteor +++ b/plugins/meteor/_meteor @@ -13,19 +13,36 @@ _meteor_installed_packages() { local -a _1st_arguments _1st_arguments=( - 'run:[Default] Run this project in local development mode' - 'create:Create a new project' - 'update:Upgrade this project to the latest version of Meteor' - 'add:Add a package to this project' - 'remove:Remove a package from this project' - 'list:List available packages' - 'help:Display Meteor help' - 'bundle:Pack this project up into a tarball' - 'mongo:Connect to the Mongo database for the specified site' - 'deploy:Deploy this project to Meteor' - 'logs:Show logs for specified site' - 'reset:Reset the project state. Erases the local database.' - 'test-packages:Test one or more packages' + "run: [default] Run this project in local development mode." + "debug: Run the project, but suspend the server process for debugging." + "create: Create a new project." + "update: Upgrade this project's dependencies to their latest versions." + "add: Add a package to this project." + "remove: Remove a package from this project." + "list: List the packages explicitly used by your project." + "add-platform: Add a platform to this project." + "remove-platform: Remove a platform from this project." + "list-platforms: List the platforms added to your project." + "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." ) local expl