pulumi/cmd
Justin Van Patten 37bc9d443f Stop running `up` as part of `pulumi new`
Originally, `pulumi new` did not run `up` after generating a project. To
help users get a deployed stack as quickly as possible, we changed
`pulumi new` to run an initial deployment at the end of its operation.
Users would first see a preview and get to decide whether to proceed
with an initial deployment, and then continue to iterate from there.

Note that this would only happen for nodejs projects
(TypeScript/JavaScript). We would not run `up` for Python projects as we
require the user to run `pip install` in a virtualenv, so we'd print
instructions with the necessary commands the user must run instead.

Running `up` as part of `pulumi new` for nodejs projects has ended up
being more confusing than helpful for new users, and annoying for
experienced users. New users aren't expecting `pulumi new` to run an
initial deployment after generating the project (they haven't even
looked at the project source yet). Experienced users find it frustrating
as you typically want to just generate the project, and don't want to
have to wait for the preview just to decline running the update.

This change reverts `pulumi new` back to not running `up` automatically
for nodejs projects. Instead, like with Python projects, at the end of
the operation, we print instructions to the user to run `pulumi up` to
deploy the project.
2019-03-11 06:03:29 -07:00
..
cancel.go Remove `pulumi archive` and archive uploading code 2018-10-26 18:03:58 -07:00
config.go Doc edits to cmd (#2505) 2019-03-02 11:04:09 -08:00
config_test.go Tidy up some data structures (#2135) 2018-11-01 08:28:11 -07:00
destroy.go Doc edits to cmd (#2505) 2019-03-02 11:04:09 -08:00
errors.go Revert "Plumb `LogRequest.IsStatus` through the logging subsystem" 2018-08-31 15:56:53 -07:00
gen_completion.go Reworked `gen-bash-completion` into a more generic completion command (#1967) 2018-09-24 06:25:16 -07:00
gen_markdown.go Add license headers 2018-05-22 15:02:47 -07:00
history.go Add `--json` to `pulumi history` 2019-01-22 15:42:29 -08:00
login.go Add a --config-file option for stack ops (#2258) 2018-11-30 15:11:05 -08:00
logout.go Add a --config-file option for stack ops (#2258) 2018-11-30 15:11:05 -08:00
logs.go Add `--json` to `pulumi config get` and `pulumi config` 2019-01-22 10:39:37 -08:00
logs_test.go Add license headers 2018-05-22 15:02:47 -07:00
new.go Stop running `up` as part of `pulumi new` 2019-03-11 06:03:29 -07:00
plugin.go Implement status sinks 2018-08-31 15:56:53 -07:00
plugin_install.go Add a --config-file option for stack ops (#2258) 2018-11-30 15:11:05 -08:00
plugin_ls.go Add `--json` to `pulumi plugin ls` 2019-01-22 15:42:29 -08:00
plugin_rm.go Refactor display logic out of pkg/backend/filestate 2018-09-05 07:33:18 -07:00
preview.go Doc edits to cmd (#2505) 2019-03-02 11:04:09 -08:00
pulumi.go Hook up stderr when running brew command 2019-03-06 22:45:55 -08:00
refresh.go Add a --config-file option for stack ops (#2258) 2018-11-30 15:11:05 -08:00
stack.go Add commands for managing stack tags (#2333) 2019-01-04 13:23:47 -08:00
stack_export.go Refactor display logic out of pkg/backend/filestate 2018-09-05 07:33:18 -07:00
stack_graph.go Refactor display logic out of pkg/backend/filestate 2018-09-05 07:33:18 -07:00
stack_import.go Implement preview-then-update for local stacks 2018-09-05 07:33:18 -07:00
stack_init.go Provide a hint about stack name format when creating stacks 2019-02-26 10:09:06 -08:00
stack_ls.go Add `--json` to `pulumi plugin ls` 2019-01-22 15:42:29 -08:00
stack_output.go Add `--json` to `pulumi config get` and `pulumi config` 2019-01-22 10:39:37 -08:00
stack_output_test.go Add license headers 2018-05-22 15:02:47 -07:00
stack_rm.go Add `--preserve-config` to `pulumi stack rm` 2018-11-09 14:33:18 -08:00
stack_select.go Remove `pulumi archive` and archive uploading code 2018-10-26 18:03:58 -07:00
stack_tag.go Add `--json` to `pulumi config get` and `pulumi config` 2019-01-22 10:39:37 -08:00
state.go Add `--stack` argument to a few missing commands (#2278) 2018-12-10 10:10:43 -08:00
state_delete.go Doc edits to cmd (#2505) 2019-03-02 11:04:09 -08:00
state_unprotect.go Doc edits to cmd (#2505) 2019-03-02 11:04:09 -08:00
up.go Stop running `up` as part of `pulumi new` 2019-03-11 06:03:29 -07:00
util.go Provide a hint about stack name format when creating stacks 2019-02-26 10:09:06 -08:00
util_test.go Add gitlab metadata - Part 1 (#2090) 2018-10-23 14:53:52 -07:00
version.go Add license headers 2018-05-22 15:02:47 -07:00
whoami.go Display current logged in user 2019-02-01 11:27:49 -08:00