actions

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AIHelpAction

type AIHelpAction struct{}

AIHelpAction handles the ai-help command

func NewAIHelpAction

func NewAIHelpAction() *AIHelpAction

NewAIHelpAction creates a new AIHelpAction

func (*AIHelpAction) Execute

func (a *AIHelpAction) Execute(c *cli.Context) error

Execute prints a comprehensive reference for AI assistants

type InitAction

type InitAction struct{}

InitAction handles the init command

func NewInitAction

func NewInitAction() *InitAction

NewInitAction creates a new InitAction

func (*InitAction) Execute

func (a *InitAction) Execute(c *cli.Context) error

Execute scaffolds a new test spec

type ListAction

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

ListAction handles the list command

func NewListAction

func NewListAction() *ListAction

NewListAction creates a new ListAction

func (*ListAction) Execute

func (a *ListAction) Execute(c *cli.Context) error

Execute lists discovered specs

type ReportAction added in v0.1.1

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

ReportAction generates the interactive HTML report.

func NewReportAction added in v0.1.1

func NewReportAction() *ReportAction

NewReportAction creates a new ReportAction.

func (*ReportAction) Execute added in v0.1.1

func (a *ReportAction) Execute(c *cli.Context) error

Execute runs specs and writes a self-contained HTML report.

type ServeAction added in v0.1.1

type ServeAction struct{}

ServeAction serves a generated HTML report locally.

func NewServeAction added in v0.1.1

func NewServeAction() *ServeAction

NewServeAction creates a new ServeAction.

func (*ServeAction) Execute added in v0.1.1

func (a *ServeAction) Execute(c *cli.Context) error

Execute starts a small static server for a single report file.

type ValidateAction

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

ValidateAction handles the validate command

func NewValidateAction

func NewValidateAction() *ValidateAction

NewValidateAction creates a new ValidateAction

func (*ValidateAction) Execute

func (a *ValidateAction) Execute(c *cli.Context) error

Execute runs test specs

func (*ValidateAction) Run added in v0.1.1

func (a *ValidateAction) Run(config *domain.Config) error

Run executes specs with the provided config. It is shared by validate and report so both commands produce identical test results.

type VersionAction

type VersionAction struct {
	Version   string
	BuildTime string
	GitCommit string
}

VersionAction handles the version command

func NewVersionAction

func NewVersionAction(version, buildTime, gitCommit string) *VersionAction

NewVersionAction creates a new VersionAction

func (*VersionAction) Execute

func (a *VersionAction) Execute(c *cli.Context) error

Execute prints version information

Jump to

Keyboard shortcuts

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