argr

package module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2018 License: MIT Imports: 1 Imported by: 0

README

argr

tokenize string as command line args

For example, tokenizes this:

s := "-v 1 -s=1 --t 1 --q 11 -w \"tt\\\"tt\" -z=\"tt\\\"tt\" -zz /tmp/dir/"

To:

[-v 1 -s=1 --t 1 --q 11 -w tt"tt -z=tt"tt -zz /tmp/dir/]

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Tokenize

func Tokenize(str string) []string

Tokenize tokenizes string as command line args

Types

This section is empty.

Jump to

Keyboard shortcuts

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