pulumi/cmd
Matt Ellis 065f6f2b42 Support -C/--cwd instead of path to package
Previously, you could pass an explicit path to a Pulumi program when
running preview or update and the tool would use that program when
planning or deploying, but continue to write state in the cwd. While
being able to operate on a specific package without having to cd'd all
over over the place is nice, this specific implemntation was a little
scary because it made it easier to run two different programs with the
same local state (e.g config and checkpoints) which would lead to
surprising results.

Let's move to a model that some tools have where you can pass a
working directory and the tool chdir's to that directory before
running. This way any local state that is stored will be stored
relative to the package we are operating on instead of whatever the
current working directory is.

Fixes #398
2017-10-06 11:27:18 -07:00
..
lumidl Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
config.go Have the CLI keep track of the current environment 2017-10-02 16:57:41 -07:00
destroy.go Support -C/--cwd instead of path to package 2017-10-06 11:27:18 -07:00
env.go Have the CLI keep track of the current environment 2017-10-02 16:57:41 -07:00
env_init.go Have the CLI keep track of the current environment 2017-10-02 16:57:41 -07:00
env_ls.go Have the CLI keep track of the current environment 2017-10-02 16:57:41 -07:00
env_rm.go Have the CLI keep track of the current environment 2017-10-02 16:57:41 -07:00
env_select.go Have the CLI keep track of the current environment 2017-10-02 16:57:41 -07:00
preview.go Support -C/--cwd instead of path to package 2017-10-06 11:27:18 -07:00
provider_env.go Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
pulumi.go Support -C/--cwd instead of path to package 2017-10-06 11:27:18 -07:00
update.go Support -C/--cwd instead of path to package 2017-10-06 11:27:18 -07:00
util.go Have the CLI keep track of the current environment 2017-10-02 16:57:41 -07:00
version.go Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00