{"id":52432,"library":"flynn-archive-go-shlex","title":"Go-Shlex","description":"A Go implementation of shell-like lexical analysis for splitting strings into tokens.","status":"active","version":"0.0.0-20150515145356-3f9db97f8568","language":"go","source_language":null,"source_url":"https://github.com/flynn-archive/go-shlex","tags":["shell","lexer","parsing","cli"],"install":[{"cmd":"go get github.com/flynn-archive/go-shlex","lang":"bash","label":"Install github.com/flynn-archive/go-shlex"}],"dependencies":[],"imports":[{"symbol":"shlex","correct":"github.com/flynn-archive/go-shlex"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/flynn-archive/go-shlex\"\n)\n\nfunc main() {\n\targs, _ := shlex.Split(\"echo 'hello world'\")\n\tfmt.Println(args)\n}","lang":"go","description":"Split a shell command string into tokens."},"warnings":[],"env_vars":null,"search_vec":"'analysi':12 'cli':21 'go':2,5 'go-shlex':1 'implement':6 'lexer':19 'lexic':11 'like':10 'pars':20 'shell':9,18 'shell-lik':8 'shlex':3 'split':14 'string':15 'token':17","created_at":"2026-06-15T06:54:22.744331+00:00","updated_at":"2026-06-15T06:54:22.744331+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/flynn-archive/go-shlex","github":"https://github.com/flynn-archive/go-shlex","docs":"https://pkg.go.dev/github.com/flynn-archive/go-shlex#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["cli","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}