config

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package config loads CLI flags and initializes application state.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Port  string
	Token string
	Debug bool
	NoWeb bool

	State *state.State
}

func New

func New(ctx context.Context, cmd *cli.Command) (*Config, error)

New parses CLI flags and loads the initial config file.

Jump to

Keyboard shortcuts

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