config

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultIntervalSec = 300
	DefaultConcurrency = 3
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	IntervalSec int
	Concurrency int
	NoGitHub    bool
	Global      GlobalConfig
}

func Parse

func Parse(args []string) (Config, error)

type GlobalConfig

type GlobalConfig struct {
	Workspaces WorkspaceMap `json:"workspaces"`
}

func LoadGlobalConfig

func LoadGlobalConfig() (GlobalConfig, error)

LoadGlobalConfig reads ~/.config/peekgit/config.json

type WorkspaceMap

type WorkspaceMap map[string][]string

Jump to

Keyboard shortcuts

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