Registry / utility / mattn-go-shellwords

mattn-go-shellwords

JSON →
library1.0.13gogounverified

Package shellwords parses command-line strings into arguments like a shell.

go get github.com/mattn/go-shellwords
INSTALL
IMPORT
SIG · MATTN-GO-SHELLWORD
M
mattn-go-shellwords
utilitygov1.0.13
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.

shellwords
github.com/mattn/go-shellwords

Parse a shell command string into arguments.

package main import ( "fmt" "github.com/mattn/go-shellwords" ) func main() { args, err := shellwords.Parse("echo 'hello world'") if err != nil { fmt.Println(err) return } fmt.Println(args) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.13latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
mattn-go-shellwords — go get mattn-go-shellwords · libregistry