{"modulePath":"github.com/smartcontractkit/cre-cli","version":"v1.42.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package logs\n\n## Functions\n\n```go\nfunc New(runtimeContext *runtime.Context) *cobra.Command\n```\nNew returns the cobra command.\n\n## Types\n\n```go\ntype Handler struct {\n\t// contains filtered or unexported fields\n}\n```\nHandler fetches and renders execution logs.\n\n```go\nfunc NewHandler(ctx *runtime.Context) *Handler\n```\nNewHandler builds a Handler with a real WorkflowDataClient.\n\n```go\nfunc NewHandlerWithClient(ctx *runtime.Context, wdc *workflowdataclient.Client) *Handler\n```\nNewHandlerWithClient builds a Handler with a pre-built client (for testing).\n\n```go\nfunc (h *Handler) Execute(ctx context.Context, inputs Inputs) error\n```\nExecute fetches and renders execution logs.\n\n```go\ntype Inputs struct {\n\tExecutionRef string\n\t// NodeFilter is applied client-side; the API has no server-side node filter.\n\tNodeFilter   string\n\tOutputFormat string\n}\n```\nInputs holds resolved and validated flag/arg values for execution logs.\n\n","path":"github.com/smartcontractkit/cre-cli/cmd/execution/logs","name":"logs","synopsis":"","isRedistributable":true}
