pulumi/pkg/backend/local
joeduffy 126d31c9c2 Simplify logging into the local backend
As part of making the local backend more prominent, this changes a few
aspects of how you use it:

* Simplify how you log into a specific cloud; rather than
  `pulumi login --cloud-url <url>`, just say `pulumi login <url>`.

* Use a proper URL scheme to denote local backend usage. We have chosen
  file://, since the REST API backend is of course always https://.
  This means that you can say `pulumi login file://~` to use the local
  backend, with state files stored in your home directory. Similarly,
  we support `pulumi login file://.` for the current directory.

* Add a --local flag to the login command, to make local logins a
  bit easier in the common case of using your home directory. Just say
  `pulumi login --local` and it is sugar for `pulumi login file://~`.

* Print the URL for the backend after logging in; for the cloud,
  this is just the user's stacks page, and for the local backend,
  this is the path to the user's stacks directory on disk.

* Tidy up the documentation for login a bit to be clearer about this.

This is part of pulumi/pulumi#1818.
2018-09-05 07:32:42 -07:00
..
backend.go Simplify logging into the local backend 2018-09-05 07:32:42 -07:00
crypto.go Add license headers 2018-05-22 15:02:47 -07:00
display.go Update some text/colors 2018-09-02 11:26:39 -07:00
jsonmessage.go Add license headers 2018-05-22 15:02:47 -07:00
progress.go Merge pull request #1848 from pulumi/joeduffy/1551_refresh_text_clarification 2018-09-02 11:58:50 -07:00
rows.go Implement status sinks 2018-08-31 15:56:53 -07:00
snapshot.go Add license headers 2018-05-22 15:02:47 -07:00
stack.go Show manifest information for stacks 2018-05-23 16:43:34 -07:00
state.go Simplify logging into the local backend 2018-09-05 07:32:42 -07:00