{"id":50045,"library":"urfave-cli-v2","title":"urfave/cli v2","description":"Package cli provides a minimal framework for creating and organizing command line Go applications.","status":"active","version":"2.27.7","language":"go","source_language":null,"source_url":"https://github.com/urfave/cli","tags":["cli","command-line","framework"],"install":[{"cmd":"go get github.com/urfave/cli/v2","lang":"bash","label":"Install github.com/urfave/cli/v2"}],"dependencies":[],"imports":[{"symbol":"cli","correct":"github.com/urfave/cli/v2"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"log\"\n\t\"os\"\n\t\"github.com/urfave/cli/v2\"\n)\n\nfunc main() {\n\tapp := &cli.App{\n\t\tName: \"greet\",\n\t\tAction: func(c *cli.Context) error {\n\t\t\tfmt.Println(\"Hello!\")\n\t\t\treturn nil\n\t\t},\n\t}\n\tif err := app.Run(os.Args); err != nil {\n\t\tlog.Fatal(err)\n\t}\n}","lang":"go","description":"Create a simple CLI app that prints a greeting."},"warnings":[{"fix":"Refer to the migration guide when upgrading from v1.","message":"v2 has breaking changes from v1; flags and actions are different.","severity":"breaking","affected_versions":">=2.0.0"}],"env_vars":null,"search_vec":"'applic':16 'cli':4,17 'command':13,19 'command-lin':18 'creat':10 'framework':8,21 'go':15 'line':14,20 'minim':7 'organ':12 'packag':3 'provid':5 'urfave/cli':1 'v2':2","created_at":"2026-06-15T04:38:22.644117+00:00","updated_at":"2026-06-15T04:38:22.644117+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/v2#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}}