config

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2026 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

Package config provides the `codexsm config` command tree.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultAppConfigTemplate

func DefaultAppConfigTemplate() appconfig.AppConfig

DefaultAppConfigTemplate returns the default template for `config init`.

func NewCommand

func NewCommand(
	resolveSessionsRoot func() (string, error),
	resolveTrashRoot func() (string, error),
	resolveLogFile func() (string, error),
) *cobra.Command

NewCommand builds the config command tree.

func ValidateAppConfig

func ValidateAppConfig(cfg appconfig.AppConfig) error

ValidateAppConfig validates config fields and enum values.

Types

This section is empty.

Jump to

Keyboard shortcuts

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