{"id":18464665,"url":"https://github.com/norfairking/template-optparse","last_synced_at":"2025-04-08T08:31:09.553Z","repository":{"id":67628016,"uuid":"303515271","full_name":"NorfairKing/template-optparse","owner":"NorfairKing","description":"Template Argument, Option, Environment, Configuration parsing code for Haskell","archived":false,"fork":false,"pushed_at":"2024-12-01T21:00:15.000Z","size":58,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T09:11:38.669Z","etag":null,"topics":["haskell","optparse","template"],"latest_commit_sha":null,"homepage":"https://template.cs-syd.eu/template/NorfairKing/template-optparse","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NorfairKing.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":"2020-10-12T21:17:47.000Z","updated_at":"2024-12-01T21:00:18.000Z","dependencies_parsed_at":"2023-12-08T16:30:27.992Z","dependency_job_id":"27df827b-1f90-45d3-8aff-fe9548613a2d","html_url":"https://github.com/NorfairKing/template-optparse","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorfairKing%2Ftemplate-optparse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorfairKing%2Ftemplate-optparse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorfairKing%2Ftemplate-optparse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorfairKing%2Ftemplate-optparse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NorfairKing","download_url":"https://codeload.github.com/NorfairKing/template-optparse/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247804395,"owners_count":20998970,"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","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":["haskell","optparse","template"],"created_at":"2024-11-06T09:10:42.954Z","updated_at":"2025-04-08T08:31:09.261Z","avatar_url":"https://github.com/NorfairKing.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Optparse Template\n\nThis is a template implementation of commands, flags, options, environment variable and configuration file parsing according to best practices.\n\n## DEPRECATED\n\nThis Template is deprecated as of the release of [`opt-env-conf`](https://hackage.haskell.org/package/opt-env-conf).\n\n## License\n\nThis template is **not** free to use.\nSee https://template.cs-syd.eu/template/NorfairKing/template-optparse for more information.\n\nCopyright (c) 2020-2024 Tom Sydney Kerckhove.\n\nAll Rights Reserved.\n\n## Instructions\n\nYou can build this template code using `stack build` according to the provided `stack.yaml` file.\nYou can also use cabal if you prefer, as long as you can get the appropriate dependencies in place.\n\nTo use this template, first choose whether your program will use one command or more commands.\nFor the multi-command version, use the `src/OptParse.hs` and `test/OptParseSpec.hs` files.\nOtherwise, use the `src/OptParseOneCommand.hs` and `test/OptParseOneCommandSpec.hs` files.\nCopy the modules into your project and follow instructions inside.\n\nYou can use [template-filler](https://github.com/NorfairKing/template-filler) to copy the template into your project, like this:\n\n```\ntemplate-filler --source /path/to/the/OptParse.hs --destination /path/to/your/homeless/shelter/OptParse.hs --find FooBar --replace HomelessShelter\n```\n\nRun `stack haddock` to read the instructions in haddock form.\nOtherwise, continue reading in [the source](src/OptParse.hs) and [the tests](test/OptParseSpec.hs).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorfairking%2Ftemplate-optparse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnorfairking%2Ftemplate-optparse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorfairking%2Ftemplate-optparse/lists"}