cli

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2025 License: MIT Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadLines added in v0.5.0

func ReadLines(path string) ([]string, error)

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) CreateDataset added in v0.5.0

func (h *Handler) CreateDataset(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) DeleteDataset added in v0.5.0

func (h *Handler) DeleteDataset(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) GetDataset added in v0.5.0

func (h *Handler) GetDataset(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) ListDatasets added in v0.5.0

func (h *Handler) ListDatasets(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) PreviewDataset added in v0.5.0

func (h *Handler) PreviewDataset(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

func (*Handler) UpdateDataset added in v0.5.0

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

Jump to

Keyboard shortcuts

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