parser

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arguments

type Arguments struct {
	Positional []any
	Options    map[string]any
}

func NewArguments

func NewArguments() Arguments

func ParseArgs

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

ParseArgs extract positional args and optional args from a list of arguments.

Key value are following the pattern: key=value or key="value".

Jump to

Keyboard shortcuts

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