parser

package
v0.0.0-...-62b9041 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParsedCommand

type ParsedCommand struct {
	Command    string
	Parameters []string
}

ParsedCommand represents a command that has been parsed

func ParseCommand

func ParseCommand(line string) ParsedCommand

ParseCommand parses an ssh command

func (ParsedCommand) Unparse

func (c ParsedCommand) Unparse() string

Unparse converts a parsed command back to a shell command

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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