vagrant/test/unit/plugins
Justin Campbell 92578aed4b command/login: Add description to created token
This adds a prompt for a token description, which is now supported in
Vagrant Cloud. Pressing enter on the prompt uses the default description
of `"Vagrant login"`.

    $ vagrant login
    In a moment we will ask for your username and password to HashiCorp's
    Vagrant Cloud. After authenticating, we will store an access token locally on
    disk. Your login details will be transmitted over a secure connection, and
    are never stored on disk locally.

    If you do not have an Vagrant Cloud account, sign up at
    https://www.vagrantcloud.com

    Vagrant Cloud Username: justincampbell
    Password (will be hidden):
    Token description (Defaults to "Vagrant login"):
    You are now logged in.
    $

Which created a token with the default description of "Vagrant login":

![](http://c.justincampbell.me/2V0p0T0U0d0O/Screen%20Shot%202017-08-10%20at%205.08.21%20PM.png)

Entering a description:

    Token description (Defaults to "Vagrant login"): Justin's MacBook Pro

![](http://c.justincampbell.me/2m1N0d1M3k3P/Screen%20Shot%202017-08-10%20at%205.09.39%20PM.png)
2017-08-10 17:12:38 -04:00
..
commands command/login: Add description to created token 2017-08-10 17:12:38 -04:00
communicators Remove stub methods and replace with allows for rpsec 3 2017-08-04 15:02:59 -07:00
guests Remove stub methods and replace with allows for rpsec 3 2017-08-04 15:02:59 -07:00
hosts Update rspec to recent version and fix deprecations 2017-08-03 17:54:07 -07:00
kernel_v2/config Remove stub methods and replace with allows for rpsec 3 2017-08-04 15:02:59 -07:00
providers Remove stub methods and replace with allows for rpsec 3 2017-08-04 15:02:59 -07:00
provisioners Update Ansible unit tests after RSpec 3.5 ugrade 2017-08-07 10:27:07 -07:00
pushes Update rspec to recent version and fix deprecations 2017-08-03 17:54:07 -07:00
synced_folders Remove stub methods and replace with allows for rpsec 3 2017-08-04 15:02:59 -07:00