4e2f94df95
The engine now unconditionally emits a new type of event, a PreludeEvent, which contains the configuration for a stack as well as an indication if the stack is being previewed or updated. The responsibility for interpreting the --show-config flag on the command line is now handled by the CLI, which uses this to decide if it should print the configuration or not, and then writes the "Previewing changes" or "Deploying chanages" header.
11 lines
412 B
Go
11 lines
412 B
Go
// Copyright 2016-2017, Pulumi Corporation. All rights reserved.
|
|
|
|
package backend
|
|
|
|
import "github.com/pulumi/pulumi/pkg/diag/colors"
|
|
|
|
// DisplayOptions controls how the output of events are rendered
|
|
type DisplayOptions struct {
|
|
Color colors.Colorization // colorization to apply to events
|
|
ShowConfig bool // true if we should show configuration information before updating or previewing
|
|
}
|