cli

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Version is set via ldflags at build time
	Version = "dev"
)

Functions

func Execute

func Execute()

Execute runs the CLI

func GetDefaultTeam

func GetDefaultTeam() string

GetDefaultTeam returns the default team from config, or empty string

func NewRootCmd

func NewRootCmd() *cobra.Command

NewRootCmd creates the root command for the 'linear' CLI

func ResolutionError

func ResolutionError(resourceType, value, specificCommand string) error

ResolutionError creates a standard error message when auto-resolution fails

Types

type DepEdge

type DepEdge struct {
	From string // blocks
	To   string // is blocked by
	Type string
}

DepEdge represents a directed edge (dependency) in the graph

type DepNode

type DepNode struct {
	ID         string
	Identifier string
	Title      string
	State      string
}

DepNode represents a node in the dependency graph

type ProjectConfig

type ProjectConfig struct {
	Team string `yaml:"team"`
}

ProjectConfig represents the .linear.yaml config file

func LoadProjectConfig

func LoadProjectConfig() (*ProjectConfig, error)

LoadProjectConfig loads the .linear.yaml config from current or parent directories

Jump to

Keyboard shortcuts

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