pulumi/pkg/backend
Alex Clemmer 5ce46e2882 Add display mode for pulumi query
The Pulumi CLI currently has two "display modes" -- one for rendering
diffs and one for rendering program updates. Neither of these is
particularly well-suited to `pulumi query`, which essentially needs to
render stdout from the query program verbatim.

This commit will add a separate display mode for this purpose:

* In interactive mode, `pulumi query` will use the display spinner to
  say "running query". In non-interactive mode, this will be omitted.
* Query mode will print stdout from the query program verbatim, but
  ignore `diag.Infoerr` so that they're not double-printed when they're
  emitted again as error events.
* Query mode also does not double-print newlines at the end of diag
  events.
2019-05-02 18:08:08 -07:00
..
display Add display mode for pulumi query 2019-05-02 18:08:08 -07:00
filestate Fix local file:// stacks on Windows. (#2696) 2019-05-02 16:52:00 -07:00
httpstate Suppress header/footer in JSON mode 2019-04-25 18:01:51 -07:00
state Add license headers 2018-05-22 15:02:47 -07:00
apply.go Don't print error prefix when a confirmation prompt is declined 2019-03-26 15:17:18 -07:00
backend.go Use result.Result in more places. (#2568) 2019-03-19 16:21:50 -07:00
snapshot.go Remove uses of plugins in the snapshot (#2662) 2019-04-23 09:53:44 -07:00
snapshot_test.go Remove uses of plugins in the snapshot (#2662) 2019-04-23 09:53:44 -07:00
stack.go Use result.Result in more places. (#2568) 2019-03-19 16:21:50 -07:00
updates.go Fix spelling (#2567) 2019-03-19 11:35:17 -07:00