{"id":24039418,"url":"https://github.com/ellemenno/cli0","last_synced_at":"2026-05-13T01:04:34.139Z","repository":{"id":142579693,"uuid":"369837667","full_name":"ellemenno/cli0","owner":"ellemenno","description":"cli zero —a simple shell script skeleton with no dependencies","archived":false,"fork":false,"pushed_at":"2022-01-09T17:24:38.000Z","size":41,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-26T07:26:54.258Z","etag":null,"topics":["bash","cli","command-line","example","script","shell","tool"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/ellemenno.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":"2021-05-22T15:06:44.000Z","updated_at":"2024-06-29T03:07:03.000Z","dependencies_parsed_at":"2023-04-08T07:18:17.135Z","dependency_job_id":null,"html_url":"https://github.com/ellemenno/cli0","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ellemenno/cli0","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ellemenno%2Fcli0","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ellemenno%2Fcli0/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ellemenno%2Fcli0/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ellemenno%2Fcli0/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ellemenno","download_url":"https://codeload.github.com/ellemenno/cli0/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ellemenno%2Fcli0/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32963180,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T23:30:32.555Z","status":"ssl_error","status_checked_at":"2026-05-12T23:30:18.191Z","response_time":102,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bash","cli","command-line","example","script","shell","tool"],"created_at":"2025-01-08T20:37:54.713Z","updated_at":"2026-05-13T01:04:34.121Z","avatar_url":"https://github.com/ellemenno.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `cli0`\n_(cleo)_ cli zero —a simple shell script skeleton with no dependencies\n\nGood for whipping up a quick command line interface with some familiar comforts:\n- argument parsing\n- usage info\n- colored output (when appropriate) that goes to [the right place](https://web.archive.org/web/20201204114029/http://www.jstorimer.com/blogs/workingwithcode/7766119-when-to-use-stderr-instead-of-stdout)\n\n## usage\n\n`cli0` doesn't really do anything out of the box; it provides a template to be modified for your own purposes:\n\n```console\n$ ./cli0\nprovides the skeleton of a simple cli\n\nusage:\n  cli0 [\u003cservice\u003e | --\u003coption\u003e]\n\noptions:\n  -h --help   show this usage info\n  \u003cservice\u003e   say, see, flip\n```\n\n`cli0` provides sample service implementations to exercise the template and output formatting options:\n\n![./cli0 say](say.png \"terminal output sample\")\n\n![./cli0 see](see.png \"terminal color options\")\n\n![./cli0 flip](flip.png \"error handling sample\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fellemenno%2Fcli0","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fellemenno%2Fcli0","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fellemenno%2Fcli0/lists"}