diff --git a/lib/vagrant/util/curl_helper.rb b/lib/vagrant/util/curl_helper.rb index 2d49cba8a..67def5a82 100644 --- a/lib/vagrant/util/curl_helper.rb +++ b/lib/vagrant/util/curl_helper.rb @@ -34,7 +34,6 @@ module Vagrant redirect_notify = false logger.info("download redirected to #{location}") source_uri = URI.parse(source) - # TODO: shouldn't this be....`.first`? source_host = source_uri.host.to_s.split(".", 2).last location_host = location_uri.host.to_s.split(".", 2).last if !redirect_notify && location_host != source_host && !SILENCED_HOSTS.include?(location_host) diff --git a/plugins/commands/cloud/auth/login.rb b/plugins/commands/cloud/auth/login.rb index d8451f644..a596e5a0c 100644 --- a/plugins/commands/cloud/auth/login.rb +++ b/plugins/commands/cloud/auth/login.rb @@ -13,15 +13,15 @@ module VagrantPlugins o.separator "" o.separator "Options:" o.separator "" - o.on("-c", "--check", "Only checks if you're logged in") do |c| + o.on("-c", "--check", "Checks if currently logged in") do |c| options[:check] = c end - o.on("-d", "--description DESCRIPTION", String, "Description for the Vagrant Cloud token") do |d| + o.on("-d", "--description DESCRIPTION", String, "Set description for the Vagrant Cloud token") do |d| options[:description] = d end - o.on("-k", "--logout", "Logs you out if you're logged in") do |k| + o.on("-k", "--logout", "Logout from Vagrant Cloud") do |k| options[:logout] = k end @@ -29,7 +29,7 @@ module VagrantPlugins options[:token] = t end - o.on("-u", "--username USERNAME_OR_EMAIL", String, "Specify your Vagrant Cloud username or email address") do |l| + o.on("-u", "--username USERNAME_OR_EMAIL", String, "Vagrant Cloud username or email address") do |l| options[:login] = l end end diff --git a/plugins/commands/cloud/auth/logout.rb b/plugins/commands/cloud/auth/logout.rb index 6dd3103b1..5f12d78cd 100644 --- a/plugins/commands/cloud/auth/logout.rb +++ b/plugins/commands/cloud/auth/logout.rb @@ -11,11 +11,11 @@ module VagrantPlugins opts = OptionParser.new do |o| o.banner = "Usage: vagrant cloud auth logout [options]" o.separator "" - o.separator "Logs you out if you're logged in locally." + o.separator "Log out of Vagrant Cloud" o.separator "" o.separator "Options:" o.separator "" - o.on("-u", "--username USERNAME_OR_EMAIL", String, "Specify your Vagrant Cloud username or email address") do |l| + o.on("-u", "--username USERNAME_OR_EMAIL", String, "Vagrant Cloud username or email address") do |l| options[:login] = l end end diff --git a/plugins/commands/cloud/auth/root.rb b/plugins/commands/cloud/auth/root.rb index ab32c5d98..423fe3eea 100644 --- a/plugins/commands/cloud/auth/root.rb +++ b/plugins/commands/cloud/auth/root.rb @@ -4,7 +4,7 @@ module VagrantPlugins module Command class Root < Vagrant.plugin("2", :command) def self.synopsis - "Manages everything authorization related to Vagrant Cloud" + "Manages Vagrant Cloud authorization related to Vagrant Cloud" end def initialize(argv, env) @@ -47,7 +47,7 @@ module VagrantPlugins opts = OptionParser.new do |opts| opts.banner = "Usage: vagrant cloud auth []" opts.separator "" - opts.separator "Helper commands for authorization with Vagrant Cloud" + opts.separator "Authorization with Vagrant Cloud" opts.separator "" opts.separator "Available subcommands:" diff --git a/plugins/commands/cloud/auth/whoami.rb b/plugins/commands/cloud/auth/whoami.rb index 81f174c00..38deaee45 100644 --- a/plugins/commands/cloud/auth/whoami.rb +++ b/plugins/commands/cloud/auth/whoami.rb @@ -11,11 +11,11 @@ module VagrantPlugins opts = OptionParser.new do |o| o.banner = "Usage: vagrant cloud auth whoami [options] [token]" o.separator "" - o.separator "Determine who you are logged in as" + o.separator "Display currently logged in user" o.separator "" o.separator "Options:" o.separator "" - o.on("-u", "--username USERNAME_OR_EMAIL", String, "Specify your Vagrant Cloud username or email address") do |l| + o.on("-u", "--username USERNAME_OR_EMAIL", String, "Vagrant Cloud username or email address") do |l| options[:login] = l end end @@ -28,7 +28,7 @@ module VagrantPlugins help: opts.help.chomp end - @client = VagrantPlugins::CloudCommand::Util.client_login(@env, options[:username]) + @client = VagrantPlugins::CloudCommand::Util.client_login(@env, options[:login]) if argv.first token = argv.first @@ -41,7 +41,7 @@ module VagrantPlugins def whoami(access_token, username) server_url = VagrantPlugins::CloudCommand::Util.api_server_url - account = VagrantPlugins::CloudCommand::Util.account?(username, access_token, server_url) + account = VagrantPlugins::CloudCommand::Util.account(username, access_token, server_url) begin success = account.validate_token diff --git a/plugins/commands/cloud/box/create.rb b/plugins/commands/cloud/box/create.rb index 38457e746..53d9357b2 100644 --- a/plugins/commands/cloud/box/create.rb +++ b/plugins/commands/cloud/box/create.rb @@ -16,10 +16,10 @@ module VagrantPlugins o.separator "Options:" o.separator "" - o.on("-d", "--description DESCRIPTION", String, "Longer description of the box") do |d| + o.on("-d", "--description DESCRIPTION", String, "Full description of the box") do |d| options[:description] = d end - o.on("-u", "--username USERNAME_OR_EMAIL", String, "Specify your Vagrant Cloud username or email address") do |t| + o.on("-u", "--username USERNAME_OR_EMAIL", String, "Vagrant Cloud username or email address") do |t| options[:username] = u end o.on("-s", "--short-description DESCRIPTION", String, "Short description of the box") do |s| diff --git a/plugins/commands/cloud/box/delete.rb b/plugins/commands/cloud/box/delete.rb index c7ef2a3ed..90ecc4bc6 100644 --- a/plugins/commands/cloud/box/delete.rb +++ b/plugins/commands/cloud/box/delete.rb @@ -16,7 +16,7 @@ module VagrantPlugins o.separator "Options:" o.separator "" - o.on("-u", "--username USERNAME_OR_EMAIL", String, "Specify your Vagrant Cloud username or email address") do |t| + o.on("-u", "--username USERNAME_OR_EMAIL", String, "Vagrant Cloud username or email address") do |t| options[:username] = u end end diff --git a/plugins/commands/cloud/box/plugin.rb b/plugins/commands/cloud/box/plugin.rb index 2ef0ccfdc..5277a85a0 100644 --- a/plugins/commands/cloud/box/plugin.rb +++ b/plugins/commands/cloud/box/plugin.rb @@ -6,7 +6,7 @@ module VagrantPlugins class Plugin < Vagrant.plugin("2") name "vagrant cloud box" description <<-DESC - Box CRUD commands for Vagrant Cloud + Box life cycle commands for Vagrant Cloud DESC command(:box) do diff --git a/plugins/commands/cloud/box/show.rb b/plugins/commands/cloud/box/show.rb index 99b09bb86..5d9789782 100644 --- a/plugins/commands/cloud/box/show.rb +++ b/plugins/commands/cloud/box/show.rb @@ -16,7 +16,7 @@ module VagrantPlugins o.separator "Options:" o.separator "" - o.on("-u", "--username USERNAME_OR_EMAIL", String, "Specify your Vagrant Cloud username or email address") do |u| + o.on("-u", "--username USERNAME_OR_EMAIL", String, "Vagrant Cloud username or email address") do |u| options[:username] = u end o.on("--versions VERSION", String, "Display box information for a specific version") do |v| diff --git a/plugins/commands/cloud/box/update.rb b/plugins/commands/cloud/box/update.rb index 2e9ae4806..0456fcb78 100644 --- a/plugins/commands/cloud/box/update.rb +++ b/plugins/commands/cloud/box/update.rb @@ -16,7 +16,7 @@ module VagrantPlugins o.separator "Options:" o.separator "" - o.on("-d", "--description DESCRIPTION", "Longer description of the box") do |d| + o.on("-d", "--description DESCRIPTION", "Full description of the box") do |d| options[:description] = d end o.on("-u", "--username", "The username of the organization that will own the box") do |u| diff --git a/plugins/commands/cloud/list.rb b/plugins/commands/cloud/list.rb index de365537c..edb18b1d0 100644 --- a/plugins/commands/cloud/list.rb +++ b/plugins/commands/cloud/list.rb @@ -10,7 +10,7 @@ module VagrantPlugins opts = OptionParser.new do |o| o.banner = "Usage: vagrant cloud list [options] organization" o.separator "" - o.separator "Search for boxes managed by a specific user" + o.separator "Search for boxes managed by a specific user/organization" o.separator "" o.separator "Options:" o.separator "" @@ -21,13 +21,13 @@ module VagrantPlugins o.on("-l", "--limit", Integer, "Max number of search results (default is 25)") do |l| options[:check] = l end - o.on("-p", "--provider", "Comma separated list of providers to filter search on. Defaults to all.") do |p| + o.on("-p", "--provider", "Comma separated list of providers to filter search. Defaults to all.") do |p| options[:check] = p end o.on("-s", "--sort-by", "Column to sort list (created, downloads, updated)") do |s| options[:check] = s end - o.on("-u", "--username USERNAME_OR_EMAIL", String, "Specify your Vagrant Cloud username or email address") do |t| + o.on("-u", "--username USERNAME_OR_EMAIL", String, "Vagrant Cloud username or email address") do |t| options[:username] = u end end diff --git a/plugins/commands/cloud/locales/en.yml b/plugins/commands/cloud/locales/en.yml index 706c0b532..8b7ab4362 100644 --- a/plugins/commands/cloud/locales/en.yml +++ b/plugins/commands/cloud/locales/en.yml @@ -54,7 +54,7 @@ en: You will need to run the `vagrant cloud provider upload` command to provide a box provider: upload: |- - Uploading box file for '%{org}/%{box_name}' v(%{version}) for provider: '%{provider}' + Uploading box file for '%{org}/%{box_name}' (v%{version}) for provider: '%{provider}' upload_success: |- Uploaded provider %{provider} on %{org}/%{box_name} for version %{version} delete_warn: |- diff --git a/plugins/commands/cloud/provider/create.rb b/plugins/commands/cloud/provider/create.rb index df93cf8ec..99dfa9e77 100644 --- a/plugins/commands/cloud/provider/create.rb +++ b/plugins/commands/cloud/provider/create.rb @@ -16,7 +16,7 @@ module VagrantPlugins o.separator "Options:" o.separator "" - o.on("-u", "--username USERNAME_OR_EMAIL", String, "Specify your Vagrant Cloud username or email address") do |t| + o.on("-u", "--username USERNAME_OR_EMAIL", String, "Vagrant Cloud username or email address") do |t| options[:username] = u end end diff --git a/plugins/commands/cloud/provider/delete.rb b/plugins/commands/cloud/provider/delete.rb index 7ed970c65..cc38f37e2 100644 --- a/plugins/commands/cloud/provider/delete.rb +++ b/plugins/commands/cloud/provider/delete.rb @@ -16,7 +16,7 @@ module VagrantPlugins o.separator "Options:" o.separator "" - o.on("-u", "--username USERNAME_OR_EMAIL", String, "Specify your Vagrant Cloud username or email address") do |t| + o.on("-u", "--username USERNAME_OR_EMAIL", String, "Vagrant Cloud username or email address") do |t| options[:username] = u end end diff --git a/plugins/commands/cloud/provider/plugin.rb b/plugins/commands/cloud/provider/plugin.rb index b2c536587..5f6e4a9d6 100644 --- a/plugins/commands/cloud/provider/plugin.rb +++ b/plugins/commands/cloud/provider/plugin.rb @@ -6,7 +6,7 @@ module VagrantPlugins class Plugin < Vagrant.plugin("2") name "vagrant cloud box" description <<-DESC - Provider CRUD commands for Vagrant Cloud + Provider life cycle commands for Vagrant Cloud DESC command(:provider) do diff --git a/plugins/commands/cloud/provider/update.rb b/plugins/commands/cloud/provider/update.rb index f34140bcd..946b875bb 100644 --- a/plugins/commands/cloud/provider/update.rb +++ b/plugins/commands/cloud/provider/update.rb @@ -16,7 +16,7 @@ module VagrantPlugins o.separator "Options:" o.separator "" - o.on("-u", "--username USERNAME_OR_EMAIL", String, "Specify your Vagrant Cloud username or email address") do |t| + o.on("-u", "--username USERNAME_OR_EMAIL", String, "Vagrant Cloud username or email address") do |t| options[:username] = u end end diff --git a/plugins/commands/cloud/provider/upload.rb b/plugins/commands/cloud/provider/upload.rb index 610d70775..cd70ac043 100644 --- a/plugins/commands/cloud/provider/upload.rb +++ b/plugins/commands/cloud/provider/upload.rb @@ -17,7 +17,7 @@ module VagrantPlugins o.separator "Options:" o.separator "" - o.on("-u", "--username USERNAME_OR_EMAIL", String, "Specify your Vagrant Cloud username or email address") do |t| + o.on("-u", "--username USERNAME_OR_EMAIL", String, "Vagrant Cloud username or email address") do |t| options[:username] = u end end diff --git a/plugins/commands/cloud/publish.rb b/plugins/commands/cloud/publish.rb index 28d8d18af..5fea29284 100644 --- a/plugins/commands/cloud/publish.rb +++ b/plugins/commands/cloud/publish.rb @@ -11,7 +11,7 @@ module VagrantPlugins opts = OptionParser.new do |o| o.banner = "Usage: vagrant cloud publish [options] organization/box-name version provider-name [provider-file]" o.separator "" - o.separator "A Start-To-Finish command for creating and releasing a new Vagrant Box on Vagrant Cloud" + o.separator "Create and release a new Vagrant Box on Vagrant Cloud" o.separator "" o.separator "Options:" o.separator "" @@ -19,10 +19,10 @@ module VagrantPlugins o.on("--box-version VERSION", String, "Version of box to create") do |v| options[:box_version] = v end - o.on("--url URL", String, "Valid remote URL to download this provider") do |u| + o.on("--url URL", String, "Remote URL to download this provider") do |u| options[:url] = u end - o.on("-d", "--description DESCRIPTION", String, "Longer description of box") do |d| + o.on("-d", "--description DESCRIPTION", String, "Full description of box") do |d| options[:description] = d end o.on("--version-description DESCRIPTION", String, "Description of the version to create") do |v| @@ -40,7 +40,7 @@ module VagrantPlugins o.on("-s", "--short-description DESCRIPTION", String, "Short description of the box") do |s| options[:short_description] = s end - o.on("-u", "--username USERNAME_OR_EMAIL", String, "Specify your Vagrant Cloud username or email address") do |t| + o.on("-u", "--username USERNAME_OR_EMAIL", String, "Vagrant Cloud username or email address") do |t| options[:username] = u end end diff --git a/plugins/commands/cloud/root.rb b/plugins/commands/cloud/root.rb index a846584f3..08007934b 100644 --- a/plugins/commands/cloud/root.rb +++ b/plugins/commands/cloud/root.rb @@ -48,7 +48,7 @@ module VagrantPlugins require File.expand_path("../publish", __FILE__) Publish end - @subcommand_helptext[:publish] = "A start-to-finish solution for creating or updating a new box on Vagrant Cloud" + @subcommand_helptext[:publish] = "A complete solution for creating or updating a new box on Vagrant Cloud" @subcommands.register(:version) do require File.expand_path("../version/root", __FILE__) diff --git a/plugins/commands/cloud/search.rb b/plugins/commands/cloud/search.rb index d0abeedf4..0359400bc 100644 --- a/plugins/commands/cloud/search.rb +++ b/plugins/commands/cloud/search.rb @@ -10,7 +10,8 @@ module VagrantPlugins opts = OptionParser.new do |o| o.banner = "Usage: vagrant cloud search [options] query" o.separator "" - o.separator "Search for a box on Vagrant Cloud" + o.separator "Search for boxes managed by a specific" + o.separator "user/organization on Vagrant Cloud" o.separator "" o.separator "Options:" o.separator "" @@ -36,7 +37,7 @@ module VagrantPlugins o.on("--sort-by SORT", "Field to sort results on (created, downloads, updated) Default: downloads") do |s| options[:sort] = s end - o.on("-u", "--username USERNAME_OR_EMAIL", String, "Specify your Vagrant Cloud username or email address") do |t| + o.on("-u", "--username USERNAME_OR_EMAIL", String, "Vagrant Cloud username or email address") do |t| options[:username] = u end end diff --git a/plugins/commands/cloud/util.rb b/plugins/commands/cloud/util.rb index aab94fb16..6dfe4806e 100644 --- a/plugins/commands/cloud/util.rb +++ b/plugins/commands/cloud/util.rb @@ -38,25 +38,23 @@ module VagrantPlugins end # Ask for the username - if @_client.username_or_email + if options[:login] + @_client.username_or_email = options[:login] env.ui.output("Vagrant Cloud username or email: #{@_client.username_or_email}") - end - until @_client.username_or_email + else @_client.username_or_email = env.ui.ask("Vagrant Cloud username or email: ") end - until @_client.password - @_client.password = env.ui.ask("Password (will be hidden): ", echo: false) + @_client.password = env.ui.ask("Password (will be hidden): ", echo: false) + + description_default = "Vagrant login from #{Socket.gethostname}" + if !options[:description] + description = env.ui.ask("Token description (Defaults to #{description_default.inspect}): ") + else + description = options[:description] + env.ui.output("Token description: #{description}") end - if options - description = options[:description] - end - description_default = "Vagrant login from #{Socket.gethostname}" - until description - description = - env.ui.ask("Token description (Defaults to #{description_default.inspect}): ") - end description = description_default if description.empty? code = nil diff --git a/plugins/commands/cloud/version/create.rb b/plugins/commands/cloud/version/create.rb index 06e2a043b..b92c5c443 100644 --- a/plugins/commands/cloud/version/create.rb +++ b/plugins/commands/cloud/version/create.rb @@ -19,7 +19,7 @@ module VagrantPlugins o.on("-d", "--description DESCRIPTION", String, "A description for this version") do |d| options[:description] = d end - o.on("-u", "--username USERNAME_OR_EMAIL", String, "Specify your Vagrant Cloud username or email address") do |t| + o.on("-u", "--username USERNAME_OR_EMAIL", String, "Vagrant Cloud username or email address") do |t| options[:username] = u end end diff --git a/plugins/commands/cloud/version/delete.rb b/plugins/commands/cloud/version/delete.rb index 2f9d21876..1d72c44e6 100644 --- a/plugins/commands/cloud/version/delete.rb +++ b/plugins/commands/cloud/version/delete.rb @@ -15,7 +15,7 @@ module VagrantPlugins o.separator "" o.separator "Options:" o.separator "" - o.on("-u", "--username USERNAME_OR_EMAIL", String, "Specify your Vagrant Cloud username or email address") do |t| + o.on("-u", "--username USERNAME_OR_EMAIL", String, "Vagrant Cloud username or email address") do |t| options[:username] = u end end diff --git a/plugins/commands/cloud/version/plugin.rb b/plugins/commands/cloud/version/plugin.rb index 6dc177421..4054c64cf 100644 --- a/plugins/commands/cloud/version/plugin.rb +++ b/plugins/commands/cloud/version/plugin.rb @@ -6,7 +6,7 @@ module VagrantPlugins class Plugin < Vagrant.plugin("2") name "vagrant cloud version" description <<-DESC - Version CRUD commands for Vagrant Cloud + Version life cycle commands for Vagrant Cloud DESC command(:version) do diff --git a/plugins/commands/cloud/version/release.rb b/plugins/commands/cloud/version/release.rb index 6151e8540..06c8f0b68 100644 --- a/plugins/commands/cloud/version/release.rb +++ b/plugins/commands/cloud/version/release.rb @@ -15,7 +15,7 @@ module VagrantPlugins o.separator "" o.separator "Options:" o.separator "" - o.on("-u", "--username USERNAME_OR_EMAIL", String, "Specify your Vagrant Cloud username or email address") do |t| + o.on("-u", "--username USERNAME_OR_EMAIL", String, "Vagrant Cloud username or email address") do |t| options[:username] = u end end diff --git a/plugins/commands/cloud/version/revoke.rb b/plugins/commands/cloud/version/revoke.rb index e11af2aba..30f73bd8f 100644 --- a/plugins/commands/cloud/version/revoke.rb +++ b/plugins/commands/cloud/version/revoke.rb @@ -15,7 +15,7 @@ module VagrantPlugins o.separator "" o.separator "Options:" o.separator "" - o.on("-u", "--username USERNAME_OR_EMAIL", String, "Specify your Vagrant Cloud username or email address") do |t| + o.on("-u", "--username USERNAME_OR_EMAIL", String, "Vagrant Cloud username or email address") do |t| options[:username] = u end end diff --git a/plugins/commands/cloud/version/root.rb b/plugins/commands/cloud/version/root.rb index de2a50c9f..d58d483dd 100644 --- a/plugins/commands/cloud/version/root.rb +++ b/plugins/commands/cloud/version/root.rb @@ -55,7 +55,7 @@ module VagrantPlugins opts = OptionParser.new do |opts| opts.banner = "Usage: vagrant cloud version []" opts.separator "" - opts.separator "For taking various actions against a Vagrant boxes version attribute on Vagrant Cloud" + opts.separator "For taking various actions against a Vagrant box's version attribute on Vagrant Cloud" opts.separator "" opts.separator "Available subcommands:" diff --git a/plugins/commands/cloud/version/update.rb b/plugins/commands/cloud/version/update.rb index 4c6b19a62..17108dd2b 100644 --- a/plugins/commands/cloud/version/update.rb +++ b/plugins/commands/cloud/version/update.rb @@ -19,7 +19,7 @@ module VagrantPlugins o.on("-d", "--description DESCRIPTION", "A description for this version") do |d| options[:description] = d end - o.on("-u", "--username USERNAME_OR_EMAIL", String, "Specify your Vagrant Cloud username or email address") do |t| + o.on("-u", "--username USERNAME_OR_EMAIL", String, "Vagrant Cloud username or email address") do |t| options[:username] = u end end diff --git a/test/unit/plugins/commands/cloud/auth/whoami_test.rb b/test/unit/plugins/commands/cloud/auth/whoami_test.rb index 4a0c33f31..daaec2c9b 100644 --- a/test/unit/plugins/commands/cloud/auth/whoami_test.rb +++ b/test/unit/plugins/commands/cloud/auth/whoami_test.rb @@ -24,7 +24,7 @@ describe VagrantPlugins::CloudCommand::AuthCommand::Command::Whoami do allow(iso_env).to receive(:action_runner).and_return(action_runner) allow(VagrantPlugins::CloudCommand::Util).to receive(:client_login). and_return(client) - allow(VagrantPlugins::CloudCommand::Util).to receive(:account?). + allow(VagrantPlugins::CloudCommand::Util).to receive(:account). and_return(account) end diff --git a/website/source/docs/cli/cloud.html.md b/website/source/docs/cli/cloud.html.md index 566054f65..79aaf8096 100644 --- a/website/source/docs/cli/cloud.html.md +++ b/website/source/docs/cli/cloud.html.md @@ -13,7 +13,7 @@ description: |- This is the command used to manage anything related to [Vagrant Cloud](https://vagrantcloud.com) -The main functionality of this command is exposed via even more subcommands: +The main functionality of this command is exposed via subcommands: * [`auth`](#cloud-auth) * [`box`](#cloud-box) @@ -34,14 +34,12 @@ The main functionality of this command is exposed via even more subcommands: **Command: `vagrant cloud auth login`** -The login command is used to authenticate with the -[HashiCorp's Vagrant Cloud](/docs/vagrant-cloud) server. Logging is only -necessary if you are accessing protected boxes or using -[Vagrant Share](/docs/share/). +The login command is used to authenticate with [HashiCorp's Vagrant Cloud](/docs/vagrant-cloud) +server. Logging in is only necessary if you are accessing protected boxes. **Logging in is not a requirement to use Vagrant.** The vast majority of Vagrant does _not_ require a login. Only certain features such as protected -boxes or [Vagrant Share](/docs/share/) require a login. +boxes. The reference of available command-line flags to this command is available below. @@ -49,8 +47,8 @@ is available below. ### Options * `--check` - This will check if you are logged in. In addition to outputting - whether you are logged in or not, the command will have exit status 0 if you are - logged in, and exit status 1 if you are not. + whether you are logged in or not, the command exit status will be 0 if you are + logged in, or 1 if you are not. * `--logout` - This will log you out if you are logged in. If you are already logged out, this command will do nothing. It is not an error to call this @@ -104,8 +102,8 @@ of the token stored stored on disk. **Command: `vagrant cloud box`** -The `cloud box` command is used to manage CRUD operations for all `box` entities on -Vagrant Cloud. +The `cloud box` command is used to manage life cycle operations for all `box` +entities on Vagrant Cloud. * [`create`](#cloud-box-create) * [`delete`](#cloud-box-delete) @@ -120,7 +118,7 @@ The box create command is used to create a new box entry on Vagrant Cloud. ### Options -* `--description DESCRIPTION` - A longer description of the box. Can be +* `--description DESCRIPTION` - A full description of the box. Can be formatted with Markdown. * `--short-description DESCRIPTION` - A short summary of the box. * `--private` - Will make the new box private (Public by default) @@ -146,7 +144,7 @@ The box update command will update an already created box on Vagrant Cloud with ### Options -* `--description DESCRIPTION` - A longer description of the box. Can be +* `--description DESCRIPTION` - A full description of the box. Can be formatted with Markdown. * `--short-description DESCRIPTION` - A short summary of the box. * `--private` - Will make the new box private (Public by default) @@ -155,8 +153,8 @@ The box update command will update an already created box on Vagrant Cloud with **Command: `vagrant cloud provider`** -The `cloud provider` command is used to manage CRUD operations for all `provider` entities on -Vagrant Cloud. +The `cloud provider` command is used to manage the life cycle operations for all +`provider` entities on Vagrant Cloud. * [`create`](#cloud-provider-create) * [`delete`](#cloud-provider-delete) @@ -169,7 +167,7 @@ Vagrant Cloud. The provider create command is used to create a new provider entry on Vagrant Cloud. -The `url` argument is expected to be a valid remote URL that Vagrant Cloud can use +The `url` argument is expected to be a remote URL that Vagrant Cloud can use to download the provider. If no `url` is specified, the provider entry can be updated later with a url or the [upload](#cloud-provider-upload) command can be used to upload a Vagrant [box file](/docs/boxes.html). @@ -199,15 +197,15 @@ the specified version and provider. **Command: `vagrant cloud publish ORGANIZATION/BOX-NAME VERSION PROVIDER-NAME [PROVIDER-FILE]`** -The publish command is a start-to-finish solution for creating and updating a +The publish command is a complete solution for creating and updating a Vagrant box on Vagrant Cloud. Instead of having to create each attribute of a Vagrant -box with separate commands, the publish command instead askes you to provide all -the information you need up front to create or update a new box. +box with separate commands, the publish command instead asks you to provide all +the information required before creating or updating a new box. ## Options * `--box-version VERSION` - Version to create for the box -* `--description DESCRIPTION` - A longer description of the box. Can be +* `--description DESCRIPTION` - A full description of the box. Can be formatted with Markdown. * `--force` - Disables confirmation when creating or updating a box. * `--short-description DESCRIPTION` - A short summary of the box.