{"id":19454846,"url":"https://github.com/fancellu/cats-effect-decline-example","last_synced_at":"2026-04-20T14:06:41.347Z","repository":{"id":71450553,"uuid":"558464264","full_name":"fancellu/cats-effect-decline-example","owner":"fancellu","description":"Cats effect Decline (Composable command-line parsing for Scala) example","archived":false,"fork":false,"pushed_at":"2022-10-27T15:49:03.000Z","size":2,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-25T10:33:17.251Z","etag":null,"topics":["cats-effect-3","decline","refined"],"latest_commit_sha":null,"homepage":"","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fancellu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-10-27T15:44:18.000Z","updated_at":"2022-10-28T17:47:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"ffd334e4-49ea-495f-b2b2-9e72845cf9ee","html_url":"https://github.com/fancellu/cats-effect-decline-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fancellu/cats-effect-decline-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fancellu%2Fcats-effect-decline-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fancellu%2Fcats-effect-decline-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fancellu%2Fcats-effect-decline-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fancellu%2Fcats-effect-decline-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fancellu","download_url":"https://codeload.github.com/fancellu/cats-effect-decline-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fancellu%2Fcats-effect-decline-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32050454,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["cats-effect-3","decline","refined"],"created_at":"2024-11-10T17:12:12.819Z","updated_at":"2026-04-20T14:06:41.331Z","avatar_url":"https://github.com/fancellu.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Cats effect Decline example\n\n### Composable command-line parsing for Scala\n\nhttps://ben.kirw.in/decline/\n\n## Using in an effectful manner\n\nJust run the below examples, replacing ```com.felstar.HelloWorld``` with ```com.felstar.HelloWorldIO```\n\n### To run\n\nRun it with no params\n```\nsbt \"runMain com.felstar.HelloWorld\" \n```\n\nRun it with --help param, displays the help for the app and its params\n```\nsbt \"runMain com.felstar.HelloWorld --help\" \n```\n\nRun it with --target param\n```\nsbt \"runMain com.felstar.HelloWorld --target Dino\" \n```\n\nRun it with -t short param\n```\nsbt \"runMain com.felstar.HelloWorld -t Ralf\" \n```\n\nRun it with positional params\n```\nsbt \"runMain com.felstar.HelloWorld Dave Ralf\" \n```\n\nRun it with forbidden name for positional param\n```\nsbt \"runMain com.felstar.HelloWorld John\" \n```\n\nRun it with refined number that doesn't match PosInt\n```\nsbt \"runMain com.felstar.HelloWorld --posInt -123\" \n```\n\nRun it with unparseable number\n```\nsbt \"runMain com.felstar.HelloWorld --posInt woof\" \n```\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffancellu%2Fcats-effect-decline-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffancellu%2Fcats-effect-decline-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffancellu%2Fcats-effect-decline-example/lists"}