{"id":22214187,"url":"https://github.com/grimdork/climate","last_synced_at":"2025-10-16T15:31:58.952Z","repository":{"id":57695240,"uuid":"488626385","full_name":"grimdork/climate","owner":"grimdork","description":"A collection of packages for command line apps in Go, with minimal dependencies.","archived":false,"fork":false,"pushed_at":"2024-04-30T16:17:24.000Z","size":1708,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T06:28:35.843Z","etag":null,"topics":["ansi","argument-parser","arguments","cli","cli-app","command-line","daemon","go","package","strings"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/grimdork.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-04T14:40:24.000Z","updated_at":"2024-04-30T16:18:46.000Z","dependencies_parsed_at":"2024-05-06T22:45:59.502Z","dependency_job_id":null,"html_url":"https://github.com/grimdork/climate","commit_stats":null,"previous_names":[],"tags_count":38,"template":false,"template_full_name":null,"purl":"pkg:github/grimdork/climate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grimdork%2Fclimate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grimdork%2Fclimate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grimdork%2Fclimate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grimdork%2Fclimate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grimdork","download_url":"https://codeload.github.com/grimdork/climate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grimdork%2Fclimate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269734149,"owners_count":24466554,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansi","argument-parser","arguments","cli","cli-app","command-line","daemon","go","package","strings"],"created_at":"2024-12-02T21:14:17.868Z","updated_at":"2025-10-16T15:31:53.900Z","avatar_url":"https://github.com/grimdork.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# climate\nA collection of packages for command line apps in Go, with minimal dependencies.\n\n## Notes\nOnly Unix-like systems are supported. Windows support is not planned until I need it.\n\n## Packages included\n\n### arg\nThis is a simple option parser with no dependencies outside the Go stdlib. The goal is to have the typical, most common use cases supported, including nested tool commands, and to be compilable with TinyGo.\n\nCurrently supports:\n- Short and long options\n- Commands\n- Positional arguments\n- Catch-all positional arguments (last args become a slice)\n\n### cfmt\nColour formatting, printf style.\n\n### daemon\nA few utility functions for daemon style programs (servers). The most important function is BreakChannel, which returns a channel that waits for Ctrl-C and returns. Use it like this:\n\t\u003c-daemon.BreakChannel()\n\n### env\nAt the moment, just the convenience function Get(), which returns the value of an environment variable or a supplied alternative.\n\n### human\nHumanised numbers (and possibly other things in the future).\n\n### paths\nHelper to get typical directory paths for configuration data. Basically makes dot-directories in $HOME (most systems) for config directories in $HOME/Library/Application Support (macOS).\n\n### prompter\nA simple tool to ask question in the terminal. Provide questions, and optionally default answers and whether the reply should be hidden.\n\n### str\nCurrently just an extended strings.Builder which can write out all common variable types, maps and slices with the same function. Also satisfies the io.Writer interface.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrimdork%2Fclimate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrimdork%2Fclimate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrimdork%2Fclimate/lists"}