{"modulePath":"github.com/jetstack/preflight","version":"v0.1.15","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package cli\n\n## Types\n\n```go\ntype CLIOutput struct {\n\t// contains filtered or unexported fields\n}\n```\nCLIOutput writes to stdout\n\n```go\nfunc (o *CLIOutput) Write(ctx context.Context, policyManifest *packaging.PolicyManifest, intermediateJSON []byte, rc *results.ResultCollection, cluster string, timestamp time.Time) error\n```\nWrite exports data in the specified format, or CLI format by default, and writes it to stdout\n\n```go\nfunc (o *CLIOutput) WriteIndex(ctx context.Context, cluster string, timestamp time.Time, clusterSummary *api.ClusterSummary) error\n```\nWriteIndex exports clusterSummary data in the specified format\n\n```go\ntype Config struct {\n\tFormat string\n}\n```\nConfig is the configuration for the CLI output.\n\n```go\nfunc (c *Config) NewOutput(ctx context.Context) (output.Output, error)\n```\nNewOutput creates a new CLIOutput\n\n","path":"github.com/jetstack/preflight/pkg/output/cli","name":"cli","synopsis":"","isRedistributable":true}
