cli

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHelpText

func GetHelpText() string

GetHelpText returns the help text for the command

func RunCommand

func RunCommand(config Config) (string, error)

RunCommand executes the main command logic

func RunTUI

func RunTUI(config Config) (string, error)

RunTUI starts the TUI file picker and returns the selected file

Types

type Config

type Config struct {
	InputPath   string
	OutputPath  string
	IsDirectory bool
	ShowHelp    bool
	IncludeAll  bool
	ShowUUID    bool
	TUIMode     bool
	Recursive   bool
	ShowTitle   bool
}

Config represents command-line configuration

func ParseArgs

func ParseArgs(args []string) (Config, error)

ParseArgs parses command-line arguments and returns configuration

Jump to

Keyboard shortcuts

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