config

package
v0.0.0-...-4c02d5c Latest Latest
Warning

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

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

Documentation

Overview

Package config handles the parsing and storage of command-line flags and other application-wide configuration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DryRun            bool
	Help              bool
	IgnoreBreakpoints bool
	Interactive       bool
	JustList          bool
	MarkdownDir       string
	Filter            string
	NoStyling         bool
	Quiet             bool
	Recursive         bool
	StartFrom         string
	StartFromFile     string
	StartFromStage    string
	DebugFrom         string
	DebugFromFile     string
	DebugFromStage    string
	DebugFromChunk    string
	MinutesToTimeout  int
	UpdateFile        bool
	Verbose           bool
	View              string
	Env               []string
	Rootdir           string
}

Config holds all the configuration for the markdown-runner.

func NewConfig

func NewConfig() *Config

NewConfig creates a new Config object and parses the command-line flags.

Jump to

Keyboard shortcuts

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