Registry / utility / elgs-gosplitargs

elgs-gosplitargs

JSON →
library0.0.0-20230310130726-7d16e488436agogounverified

Splits command-line style argument strings into slices.

go get github.com/elgs/gosplitargs
INSTALL
IMPORT
SIG · ELGS-GOSPLITARGS
E
elgs-gosplitargs
utilitygov0.0.0-20230310130726-7d16e488436a
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.

gosplitargs
github.com/elgs/gosplitargs

Split a string into arguments respecting quotes.

package main import ( "fmt" "github.com/elgs/gosplitargs" ) func main() { args, _ := gosplitargs.Split(`--name "John Doe" --age 30`) fmt.Println(args) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20230310130726-7d16e488436alatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
elgs-gosplitargs — go get elgs-gosplitargs · libregistry