pulumi/pkg/backend/display
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
..
diff.go Add a --json flag to the preview command 2019-04-25 17:36:31 -07:00
display.go Add display mode for pulumi query 2019-05-02 18:08:08 -07:00
json.go Respect --show flags for --json (and --diff) 2019-04-25 17:36:31 -07:00
jsonmessage.go Use Go Modules for dependency tracking 2019-04-10 08:37:51 +04:00
options.go Add display mode for pulumi query 2019-05-02 18:08:08 -07:00
progress.go Use Go Modules for dependency tracking 2019-04-10 08:37:51 +04:00
query.go Add display mode for pulumi query 2019-05-02 18:08:08 -07:00
rows.go Use Go Modules for dependency tracking 2019-04-10 08:37:51 +04:00