models

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	IsSetupComplete bool `json:"is_setup_complete"`
}

Config represents the configuration for the terminal runner.

type Task

type Task struct {
	Name      string   `json:"name"`      // Task name
	Path      string   `json:"path"`      // Associated project path
	Cmds      []string `json:"cmds"`      // Commands to execute
	Icon      string   `json:"icon"`      // VSCode terminal icon
	IconColor string   `json:"iconColor"` // Icon color in the terminal
}

Task represents an individual task that can be executed in a VSCode terminal.

func (Task) GetName

func (t Task) GetName() string

GetName returns the name that uniquely identifies this task.

type Workspace

type Workspace struct {
	Name  string `json:"name"`
	Tasks []Task `json:"tasks"`
}

Workspace represents a workspace containing multiple tasks.

func (Workspace) GetName

func (w Workspace) GetName() string

GetName returns the name that uniquely identifies this workspace.

Jump to

Keyboard shortcuts

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