pulumi/cmd
Matt Ellis 4ba5901aaf Add --json to pulumi logs
When outputing JSON, if we have a fixed number of log entries (i.e. we
are not `--follow`'ing, we wrap each entry in array. Otherwise, we
just emit each log entry as an object at top level.

As part of this change, I've adopted a slightly more precise time
output format in `pulumi stack ls` when using JSON output. These times
now match the default output from `console.log(new Date())`
2018-10-29 12:43:52 -07:00
..
cancel.go Remove pulumi archive and archive uploading code 2018-10-26 18:03:58 -07:00
config.go Implement preview-then-update for local stacks 2018-09-05 07:33:18 -07:00
config_test.go Consider the key name as part of secret detection 2018-08-09 19:10:14 -07:00
destroy.go Use math.MaxInt32 to signal unbounded parallelism 2018-10-29 12:27:03 -07: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
login.go Refactor display logic out of pkg/backend/filestate 2018-09-05 07:33:18 -07:00
logout.go Rename backend packages 2018-09-05 07:32:42 -07:00
logs.go Add --json to pulumi logs 2018-10-29 12:43:52 -07:00
logs_test.go Add license headers 2018-05-22 15:02:47 -07:00
new.go Add an option to suppress displaying stack outputs (#2029) 2018-10-06 14:13:02 -07:00
plugin.go Implement status sinks 2018-08-31 15:56:53 -07:00
plugin_install.go Refactor display logic out of pkg/backend/filestate 2018-09-05 07:33:18 -07:00
plugin_ls.go Add license headers 2018-05-22 15:02:47 -07:00
plugin_rm.go Refactor display logic out of pkg/backend/filestate 2018-09-05 07:33:18 -07:00
preview.go Use math.MaxInt32 to signal unbounded parallelism 2018-10-29 12:27:03 -07:00
pulumi.go Remove pulumi archive and archive uploading code 2018-10-26 18:03:58 -07:00
refresh.go Use math.MaxInt32 to signal unbounded parallelism 2018-10-29 12:27:03 -07:00
stack.go Implement preview-then-update for local stacks 2018-09-05 07:33:18 -07: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 Remove references to Pulumi private clouds (#2095) 2018-10-24 13:50:35 -07:00
stack_ls.go Add --json to pulumi logs 2018-10-29 12:43:52 -07:00
stack_output.go Don't error in pulumi stack output when there is no root resource 2018-10-25 15:00:38 -07:00
stack_output_test.go Add license headers 2018-05-22 15:02:47 -07:00
stack_rm.go Remove pulumi archive and archive uploading code 2018-10-26 18:03:58 -07:00
stack_select.go Remove pulumi archive and archive uploading code 2018-10-26 18:03:58 -07:00
state.go Add new 'pulumi state' command for editing state (#2024) 2018-10-15 09:52:55 -07:00
state_delete.go Add new 'pulumi state' command for editing state (#2024) 2018-10-15 09:52:55 -07:00
state_unprotect.go Add new 'pulumi state' command for editing state (#2024) 2018-10-15 09:52:55 -07:00
up.go Use math.MaxInt32 to signal unbounded parallelism 2018-10-29 12:27:03 -07:00
util.go Add --json flag to pulumi stack ls 2018-10-26 13:13:50 -07: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 Refactor display logic out of pkg/backend/filestate 2018-09-05 07:33:18 -07:00