core

package
v0.0.0-...-145747d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2026 License: Apache-2.0 Imports: 70 Imported by: 0

Documentation

Index

Constants

View Source
const WARNING_MESSAGE = "" /* 384-byte string literal not displayed */

Variables

This section is empty.

Functions

func Run

func Run(opts ...Option) int

Run is the public entry point for the CLI. It accepts options to customise behaviour — most notably WithAdditionalExtensions for injecting private extension initializers.

Types

type HandleError

type HandleError int

type JsonErrorStruct

type JsonErrorStruct struct {
	Ok       bool   `json:"ok"`
	ErrorMsg string `json:"error"`
	Path     string `json:"path"`
}

type Option

type Option func(*runnerConfig)

Option configures the CLI runner.

func WithAdditionalExtensions

func WithAdditionalExtensions(exts ...workflow.ExtensionInit) Option

WithAdditionalExtensions adds extension initializers to the CLI beyond the core set. This is the hook used by the enterprise/private entry point.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL