config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package config handles agentree configuration from .agentreerc and global config

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	PostCreateScripts []string
	// Package manager specific overrides
	PnpmSetup    string
	NpmSetup     string
	YarnSetup    string
	DefaultSetup string
}

Config holds agentree configuration

func LoadGlobalConfig

func LoadGlobalConfig() (*Config, error)

LoadGlobalConfig loads configuration from ~/.config/agentree/config

func LoadProjectConfig

func LoadProjectConfig(projectRoot string) (*Config, error)

LoadProjectConfig loads configuration from .agentreerc in the project root

Jump to

Keyboard shortcuts

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