cli

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package cli implements the ogvs command-line interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute runs the root command.

Types

type CLIConfig

type CLIConfig struct {
	Multipass      bool          `yaml:"multipass"`
	FloatPrecision *int          `yaml:"floatPrecision"`
	DataURI        string        `yaml:"datauri"`
	Plugins        []any         `yaml:"plugins"` // string or map
	Js2svg         *Js2svgConfig `yaml:"js2svg"`
}

CLIConfig represents the YAML configuration file structure.

type Js2svgConfig

type Js2svgConfig struct {
	Pretty       bool   `yaml:"pretty"`
	Indent       int    `yaml:"indent"`
	EOL          string `yaml:"eol"`
	FinalNewline bool   `yaml:"finalNewline"`
}

Js2svgConfig represents js2svg output configuration.

Jump to

Keyboard shortcuts

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