parseargs

package
v1.41.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arglist

type Arglist struct {
	Commands []Command `yaml:"Commands"`
	Inputs   []string  `yaml:"Inputs"` // todo: at the moment single input is supported only, the other inputs will be ignored
	Binary   string    `yaml:"Binary"`
}

func FromFurocConfig

func FromFurocConfig() Arglist

func Parse

func Parse() Arglist

type Command

type Command struct {
	Args       []string `yaml:"Args"`
	Plugin     string   `yaml:"Plugin"`
	PluginName string   `yaml:"PluginName"` // binary
	OutputDir  string   `yaml:"OutputDir"`
}

Jump to

Keyboard shortcuts

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