Registry / utility / caarlos0-go-shellwords

caarlos0-go-shellwords

JSON →
library1.0.12gogounverified

Parses command-line strings into tokens, similar to shell word splitting.

go get github.com/caarlos0/go-shellwords
INSTALL
IMPORT
SIG · CAARLOS0-GO-SHELLW
C
caarlos0-go-shellwords
utilitygov1.0.12
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/caarlos0/go-shellwords

Parses a shell-like string into an array of arguments.

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

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
caarlos0-go-shellwords — go get caarlos0-go-shellwords · libregistry