{"id":52249,"library":"ipfs-go-ipfs-cmds","title":"go-ipfs-cmds","description":"Package cmds helps building both standalone and client-server applications with commands, emitters, and responses.","status":"active","version":"2.0.1+incompatible","language":"go","source_language":null,"source_url":"https://github.com/ipfs/go-ipfs-cmds","tags":["commands","cli","ipfs","framework"],"install":[{"cmd":"go get github.com/ipfs/go-ipfs-cmds","lang":"bash","label":"Install github.com/ipfs/go-ipfs-cmds"}],"dependencies":[],"imports":[{"symbol":"cmds","correct":"github.com/ipfs/go-ipfs-cmds"}],"quickstart":{"code":"package main\n\nimport (\n\t\"github.com/ipfs/go-ipfs-cmds\"\n)\n\nfunc main() {\n\tcmd := &cmds.Command{\n\t\tRun: func(req *cmds.Request, re cmds.ResponseEmitter, env cmds.Environment) error {\n\t\t\treturn re.Emit(\"Hello, world!\")\n\t\t},\n\t}\n\t// Use cmd with a command executor\n}","lang":"go","description":"Define and run a command"},"warnings":[],"env_vars":null,"search_vec":"'applic':15 'build':8 'cli':22 'client':13 'client-serv':12 'cmds':4,6 'command':17,21 'emitt':18 'framework':24 'go':2 'go-ipfs-cmd':1 'help':7 'ipf':3,23 'packag':5 'respons':20 'server':14 'standalon':10","created_at":"2026-06-15T06:47:34.301400+00:00","updated_at":"2026-06-15T06:47:34.301400+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/ipfs/go-ipfs-cmds","github":"https://github.com/ipfs/go-ipfs-cmds","docs":"https://pkg.go.dev/github.com/ipfs/go-ipfs-cmds#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["cli"],"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}}