parseargs

package
v1.34.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 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