parsecmd

package module
v0.0.0-...-04f6419 Latest Latest
Warning

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

Go to latest
Published: May 22, 2022 License: MIT Imports: 4 Imported by: 0

README

parsecmd

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Name   string            `json:"name"`
	Args   []string          `json:"args"`
	Kwargs map[string]string `json:"kwargs"`
	Parts  []string          `json:"parts"`
}

func Parse

func Parse(text string) (*Command, error)

name a=1 b="2 3 4" c=3 d e "f \"g h\" i"

Jump to

Keyboard shortcuts

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