cli

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2025 License: MIT Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SelectFromSlice added in v0.4.0

func SelectFromSlice(prompt string, options []string, defaultValue string) (string, error)

Types

type CLI added in v0.1.3

type CLI struct {
	Backend *services.Backend
	Handler *Handler
}

func BuildCLI

func BuildCLI(root *cobra.Command) *CLI

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(backend *services.Backend) *Handler

func (*Handler) Autofill added in v0.0.6

func (h *Handler) Autofill(cmd *cobra.Command, args []string) error

func (*Handler) Builder added in v0.2.0

func (h *Handler) Builder(cmd *cobra.Command, args []string) error

func (*Handler) Create

func (h *Handler) Create(cmd *cobra.Command, args []string) error

func (*Handler) CreateWorkflow added in v0.4.0

func (h *Handler) CreateWorkflow(cmd *cobra.Command, args []string) error

func (*Handler) Delete

func (h *Handler) Delete(cmd *cobra.Command, args []string) error

func (*Handler) DeleteWorkflow added in v0.4.0

func (h *Handler) DeleteWorkflow(cmd *cobra.Command, args []string) error

func (*Handler) Describe

func (h *Handler) Describe(cmd *cobra.Command, args []string) error

func (*Handler) Export

func (h *Handler) Export(cmd *cobra.Command, args []string) error

func (*Handler) Generate

func (h *Handler) Generate(cmd *cobra.Command, args []string) error

func (*Handler) Import

func (h *Handler) Import(cmd *cobra.Command, args []string) error

func (*Handler) List

func (h *Handler) List(cmd *cobra.Command, args []string) error

func (*Handler) ListWorkflows added in v0.4.0

func (h *Handler) ListWorkflows(cmd *cobra.Command, args []string) error

func (*Handler) Regenerate added in v0.3.1

func (h *Handler) Regenerate(cmd *cobra.Command, args []string) error

func (*Handler) RunWorkflow added in v0.4.0

func (h *Handler) RunWorkflow(cmd *cobra.Command, args []string) error

func (*Handler) Show

func (h *Handler) Show(cmd *cobra.Command, args []string) error

func (*Handler) Truncate

func (h *Handler) Truncate(cmd *cobra.Command, args []string) error

func (*Handler) Update added in v0.1.4

func (h *Handler) Update(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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