shell

package
v0.0.0-...-69e65b7 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2023 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Argv []string
	Raw  string
}

func Parse

func Parse(s string) ([]Command, []int, error)

func (Command) Args

func (p Command) Args() []string

func (Command) Empty

func (p Command) Empty() bool

func (Command) Equal

func (p Command) Equal(q Command) bool

func (Command) Name

func (p Command) Name() string

Jump to

Keyboard shortcuts

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