{"modulePath":"github.com/smartcontractkit/cre-cli","version":"v1.42.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package list\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 workflow executions.\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 lists executions applying filters from inputs.\n\n```go\ntype Inputs struct {\n\t// WorkflowRef is an optional workflow name or on-chain WorkflowId from the positional arg.\n\tWorkflowRef    string\n\tStatuses       []workflowdataclient.ExecutionStatus\n\tFrom           *time.Time\n\tTo             *time.Time\n\tLimit          int\n\tOutputFormat   string\n\tNonInteractive bool\n}\n```\nInputs holds resolved and validated flag/arg values for execution list.\n\n","path":"github.com/smartcontractkit/cre-cli/cmd/execution/list","name":"list","synopsis":"","isRedistributable":true}
