config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2025 License: MIT Imports: 2 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 {
	Repos    []string // dep.repo (comma-separated)
	Patterns []string // dep.patterns (comma-separated regex patterns)
}

Config holds all configuration values from gh config

func Load

func Load() (*Config, error)

Load reads configuration from gh config Returns a Config with zero values if no config is set

func (*Config) GetPatterns

func (c *Config) GetPatterns() []string

GetPatterns returns the configured patterns or nil if not set

func (*Config) GetRepos

func (c *Config) GetRepos() []string

GetRepos returns the configured repos or nil if not set

Jump to

Keyboard shortcuts

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