328734f874
This change introduces an abstraction for a `backend` which manages the implementation of some CLI commands. As part of defining the interface, we introduce a new local backend implementation that just uses data local to the machine. This will let us share argument parsing and some display information between the local case and the pulumi.com case in the CLI. We can continue to refine this interface over time (e.g. today we have the implementation of the Destroy/Update/Preview actually writing output but instead they should be returning strongly typed data that the CLI knows how to display and is unified across Pulumi.com deploys and local deploys). But this is a good first step. |
||
---|---|---|
.. | ||
lumidl | ||
api.go | ||
backend.go | ||
backend_local.go | ||
config.go | ||
config_test.go | ||
creds.go | ||
crypt.go | ||
destroy.go | ||
init.go | ||
login.go | ||
preview.go | ||
provider_local.go | ||
pulumi.go | ||
stack.go | ||
stack_init.go | ||
stack_ls.go | ||
stack_rm.go | ||
stack_select.go | ||
update.go | ||
util.go | ||
util_password.go | ||
util_password_windows.go | ||
version.go |