models

package
v1.1.11 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BrowserCommand

type BrowserCommand struct {
	*kingpin.CmdClause
	Addr string
}

type ClearCommand

type ClearCommand struct {
	*kingpin.CmdClause
	Addresses []string
	Duration  time.Duration
	Yes       bool
	Force     bool
}

type CmdCommand

type CmdCommand struct {
	*kingpin.CmdClause
	Addr string
}

type Commands

type Commands struct {
	App     *kingpin.Application
	Project ProjectCommand
	Clear   ClearCommand
	Cmd     CmdCommand
	Config  ConfigCommand
	Browser BrowserCommand
}

type Config

type Config struct {
	Default Default    `yaml:"default"`
	Storage Storage    `yaml:"storage"`
	Rules   []IdeaRule `yaml:"rules"`
}

type ConfigCommand

type ConfigCommand struct {
	*kingpin.CmdClause
	List  ConfigListCommand
	Set   ConfigSetCommand
	Unset ConfigUnsetCommand
}

type ConfigListCommand

type ConfigListCommand struct {
	*kingpin.CmdClause
}

type ConfigSetCommand

type ConfigSetCommand struct {
	*kingpin.CmdClause
	Field string
	Value string
}

type ConfigUnsetCommand

type ConfigUnsetCommand struct {
	*kingpin.CmdClause
	Field string
}

type Default

type Default struct {
	GitSite    string `yaml:"gitSite"`
	Username   string `yaml:"username"`
	CmdProgram string `yaml:"cmdProgram"`
	Idea       string `yaml:"idea"`
}

type IdeaRule added in v1.1.3

type IdeaRule struct {
	Idea string   `yaml:"idea"`
	File []string `yaml:"file,flow"`
}

type ProjectCommand

type ProjectCommand struct {
	*kingpin.CmdClause
	Addr string
	Idea string
}

type Storage

type Storage struct {
	ProjectDir string `yaml:"projectDir"`
}

Jump to

Keyboard shortcuts

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