handler

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2025 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Overview

Package handler provides CLI command handlers.

Package handler provides CLI command handlers.

Package handler provides CLI command handlers.

Package handler provides CLI command handlers.

Package handler provides CLI command handlers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbortHandler

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

AbortHandler handles the workflow abort command.

func NewAbortHandler

func NewAbortHandler(uc *abort.UseCase, p *presenter.Presenter) *AbortHandler

NewAbortHandler creates a new AbortHandler.

func (*AbortHandler) Command

func (h *AbortHandler) Command() *cli.Command

Command returns the CLI command for aborting workflows.

type BundleHandler

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

BundleHandler handles the WDL bundle command.

func NewBundleHandler

func NewBundleHandler(uc *create.UseCase, p *presenter.Presenter) *BundleHandler

NewBundleHandler creates a new BundleHandler.

func (*BundleHandler) Command

func (h *BundleHandler) Command() *cli.Command

Command returns the CLI command for creating WDL bundles.

type ChatHandler added in v1.0.2

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

func NewChatHandler added in v1.0.2

func NewChatHandler(cfg *config.Config) *ChatHandler

func (*ChatHandler) Command added in v1.0.2

func (h *ChatHandler) Command() *cli.Command

func (*ChatHandler) ListSessions added in v1.0.2

func (h *ChatHandler) ListSessions() error

func (*ChatHandler) Run added in v1.0.2

func (h *ChatHandler) Run(sessionID string, rebuildIndex bool) error

type ConfigHandler added in v1.0.2

type ConfigHandler struct{}

func NewConfigHandler added in v1.0.2

func NewConfigHandler() *ConfigHandler

func (*ConfigHandler) Command added in v1.0.2

func (h *ConfigHandler) Command() *cli.Command

func (*ConfigHandler) Get added in v1.0.2

func (h *ConfigHandler) Get(key string) error

func (*ConfigHandler) List added in v1.0.2

func (h *ConfigHandler) List() error

func (*ConfigHandler) Set added in v1.0.2

func (h *ConfigHandler) Set(key, value string) error

type DashboardHandler

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

DashboardHandler handles the dashboard TUI command.

func NewDashboardHandler

func NewDashboardHandler(client *cromwell.Client) *DashboardHandler

NewDashboardHandler creates a new dashboard handler.

func (*DashboardHandler) Command

func (h *DashboardHandler) Command() *cli.Command

Command returns the CLI command for dashboard.

type DebugHandler

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

DebugHandler handles workflow debug TUI commands.

func NewDebugHandler

func NewDebugHandler(client *cromwell.Client) *DebugHandler

NewDebugHandler creates a new debug handler.

func (*DebugHandler) Command

func (h *DebugHandler) Command() *cli.Command

Command returns the CLI command for debug.

type MetadataHandler

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

MetadataHandler handles the workflow metadata command.

func NewMetadataHandler

func NewMetadataHandler(uc *metadata.UseCase, p *presenter.Presenter) *MetadataHandler

NewMetadataHandler creates a new MetadataHandler.

func (*MetadataHandler) Command

func (h *MetadataHandler) Command() *cli.Command

Command returns the CLI command for workflow metadata retrieval.

type QueryHandler

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

QueryHandler handles the workflow query command.

func NewQueryHandler

func NewQueryHandler(uc *query.UseCase, p *presenter.Presenter) *QueryHandler

NewQueryHandler creates a new QueryHandler.

func (*QueryHandler) Command

func (h *QueryHandler) Command() *cli.Command

Command returns the CLI command for querying workflows.

type SubmitHandler

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

SubmitHandler handles the workflow submission command.

func NewSubmitHandler

func NewSubmitHandler(uc *submit.UseCase, p *presenter.Presenter) *SubmitHandler

NewSubmitHandler creates a new SubmitHandler.

func (*SubmitHandler) Command

func (h *SubmitHandler) Command() *cli.Command

Command returns the CLI command for workflow submission.

Jump to

Keyboard shortcuts

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