parser

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2015 License: Apache-2.0 Imports: 5 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Args    []string
	Heredoc string
}

Command has arguments and an input literal from a heredoc.

func Parse

func Parse(input io.Reader) (commands []*Command, err error)

Parse parses the given input as a line-separated list of arguments. On success, a slice of argument lists is returned.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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