{"id":50096,"library":"urfave-cli","title":"cli","description":"Package cli provides a minimal framework for creating and organizing command line Go applications.","status":"active","version":"1.22.17","language":"go","source_language":null,"source_url":"https://github.com/urfave/cli","tags":["cli","command-line","framework","app"],"install":[{"cmd":"go get github.com/urfave/cli","lang":"bash","label":"Install github.com/urfave/cli"}],"dependencies":[],"imports":[{"symbol":"cli","correct":"github.com/urfave/cli"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"os\"\n\t\"github.com/urfave/cli\"\n)\n\nfunc main() {\n\tapp := cli.NewApp()\n\tapp.Name = \"hello\"\n\tapp.Action = func(c *cli.Context) error {\n\t\tfmt.Println(\"Hello, world!\")\n\t\treturn nil\n\t}\n\terr := app.Run(os.Args)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n}","lang":"go","description":"Create a simple CLI app that prints 'Hello, world!'"},"warnings":[{"fix":"Use github.com/urfave/cli/v2 for new projects.","message":"v1 and v2 have incompatible APIs; v2 uses a different action signature and removes some features.","severity":"breaking","affected_versions":">=2.0.0"}],"env_vars":null,"search_vec":"'app':21 'applic':15 'cli':1,3,16 'command':12,18 'command-lin':17 'creat':9 'framework':7,20 'go':14 'line':13,19 'minim':6 'organ':11 'packag':2 'provid':4","created_at":"2026-06-15T04:40:10.257045+00:00","updated_at":"2026-06-15T04:40:10.257045+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/urfave/cli","github":"https://github.com/urfave/cli","docs":"https://pkg.go.dev/github.com/urfave/cli#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}}