args

package
v0.0.0-...-3ac0d25 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValid

func IsValid(args []string) bool

IsValid checks if args is valid or not

Types

type Argument

type Argument struct {
	Profile string
	Command string
	Args    []string
}

func Parse

func Parse(args []string) (*Argument, error)

Parse parse os arguments to Argument struct

Jump to

Keyboard shortcuts

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