cmd

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute runs the root command and handles any errors. This is the main entry point for the CLI application.

Types

type Config added in v0.2.0

type Config struct {
	// Sw command flags
	SwPrintPath bool
	// Close command flags
	ClosePrintPath bool
}

Config holds all configuration values for the CLI commands

func NewConfig added in v0.2.0

func NewConfig() *Config

NewConfig creates a new Config with default values

func (*Config) Validate added in v0.2.0

func (c *Config) Validate() error

Validate checks if the configuration is valid. Returns nil if the configuration is valid.

Jump to

Keyboard shortcuts

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