Registry / cli / flynn-archive-go-shlex

flynn-archive-go-shlex

JSON →
library0.0.0-20150515145356-3f9db97f8568gogounverified

A Go implementation of shell-like lexical analysis for splitting strings into tokens.

go get github.com/flynn-archive/go-shlex
INSTALL
IMPORT
SIG · FLYNN-ARCHIVE-GO-S
F
flynn-archive-go-shlex
cligov0.0.0-20150515145356-3f9db97f8568
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

shlex
github.com/flynn-archive/go-shlex

Split a shell command string into tokens.

package main import ( "fmt" "github.com/flynn-archive/go-shlex" ) func main() { args, _ := shlex.Split("echo 'hello world'") fmt.Println(args) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20150515145356-3f9db97f8568latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
22
OpenAI (training)
1
Resources
flynn-archive-go-shlex — go get flynn-archive-go-shlex · libregistry