pulumi/cmd
Chris Smith c286712d28
Remove args we can now get from the repository and package (#501)
This PR removes three command line parameters from Cloud-enabled Pulumi commands (`update` and `stack init`). Previously we required users to pass in `--organization`, `--repository`, and `--project`. But with the recent "Pulumi repository" changes, we can now get that from the Pulumi workspace. And the project name from the `Pulumi.yaml`.

This PR also fixes a bugs that block the Cloud-enabled CLI path: `update` was getting the stack name via `explicitOrCurrent`, but that fails if the current stack (e.g. the one just initialized in the cloud) doesn't exist on the local disk.

As for better handling of "current stack" and and Cloud-enabled commands, https://github.com/pulumi/pulumi/pull/493 and the PR to enable `stack select`, `stack rm`, and `stack ls` do a better job of handling situations like this.
2017-10-30 17:47:12 -07:00
..
lumidl Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
api.go Remove args we can now get from the repository and package (#501) 2017-10-30 17:47:12 -07:00
config.go Improve the US for pulumi config 2017-10-27 10:04:53 -07:00
config_test.go Save config information in Pulumi.yaml 2017-10-20 13:30:07 -07:00
creds.go Move .pulumi to root of a repository 2017-10-27 11:46:21 -07:00
crypt.go Move .pulumi to root of a repository 2017-10-27 11:46:21 -07:00
destroy.go Encrypt secrets in Pulumi.yaml 2017-10-24 16:48:12 -07:00
init.go Move .pulumi to root of a repository 2017-10-27 11:46:21 -07:00
login.go Add login and logout commands. (#437) 2017-10-19 15:22:07 -07:00
preview.go Encrypt secrets in Pulumi.yaml 2017-10-24 16:48:12 -07:00
provider_local.go Move .pulumi to root of a repository 2017-10-27 11:46:21 -07:00
pulumi.go Move .pulumi to root of a repository 2017-10-27 11:46:21 -07:00
stack.go Encrypt secrets in Pulumi.yaml 2017-10-24 16:48:12 -07:00
stack_init.go Remove args we can now get from the repository and package (#501) 2017-10-30 17:47:12 -07:00
stack_ls.go Move .pulumi to root of a repository 2017-10-27 11:46:21 -07:00
stack_rm.go Encrypt secrets in Pulumi.yaml 2017-10-24 16:48:12 -07:00
stack_select.go Remove args we can now get from the repository and package (#501) 2017-10-30 17:47:12 -07:00
update.go Remove args we can now get from the repository and package (#501) 2017-10-30 17:47:12 -07:00
util.go Remove args we can now get from the repository and package (#501) 2017-10-30 17:47:12 -07:00
util_password.go Encrypt secrets in Pulumi.yaml 2017-10-24 16:48:12 -07:00
util_password_windows.go Encrypt secrets in Pulumi.yaml 2017-10-24 16:48:12 -07:00
version.go Construct version based on git information 2017-10-16 18:35:41 -07:00