{"id":17255096,"url":"https://github.com/unixjunkie/minicli","last_synced_at":"2025-03-22T18:34:29.128Z","repository":{"id":144339673,"uuid":"100358580","full_name":"UnixJunkie/minicli","owner":"UnixJunkie","description":"Minimalist OCaml library for command line parsing","archived":false,"fork":false,"pushed_at":"2020-10-07T06:59:40.000Z","size":28,"stargazers_count":31,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-15T07:11:14.300Z","etag":null,"topics":["cli","command-line-interface","command-line-parsing","minimalist","ocaml-library"],"latest_commit_sha":null,"homepage":"","language":"OCaml","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/UnixJunkie.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}},"created_at":"2017-08-15T08:53:21.000Z","updated_at":"2024-09-14T18:52:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"b961b382-0e1c-4ce2-ad77-c673aa972937","html_url":"https://github.com/UnixJunkie/minicli","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnixJunkie%2Fminicli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnixJunkie%2Fminicli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnixJunkie%2Fminicli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnixJunkie%2Fminicli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UnixJunkie","download_url":"https://codeload.github.com/UnixJunkie/minicli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221832421,"owners_count":16888243,"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":["cli","command-line-interface","command-line-parsing","minimalist","ocaml-library"],"created_at":"2024-10-15T07:10:41.791Z","updated_at":"2024-10-28T13:34:15.423Z","avatar_url":"https://github.com/UnixJunkie.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Minicli\n\nMinimalist OCaml library for command line parsing.\nLook into the test.ml file for usage examples/quickstart.\n\n\u003e \"Minicli: because the UNIX command-line is to the computer scientist\n\u003e what latin and greek are to the linguist\"\n\n# Example session with the test program\n\n    # _build/default/test.exe\n    usage:\n    _build/default/test.exe {-i|--input} \u003cfile\u003e {-o|--output} \u003cfile\u003e -n \u003cint\u003e -x \u003cfloat\u003e [-v] [--hi \u003cstring\u003e]\n\n    # _build/default/test.exe -i\n    Fatal error: exception Minicli__CLI.No_param_for_option(\"-i\")\n\n    # _build/default/test.exe -i input.txt\n    Fatal error: exception Minicli__CLI.Option_is_mandatory(\"-o\")\n\n    # _build/default/test.exe -i input.txt -o output.txt\n    Fatal error: exception Minicli__CLI.Option_is_mandatory(\"-n\")\n\n    # _build/default/test.exe -i input.txt -o output.txt -n /dev/null\n    Fatal error: exception Minicli__CLI.Not_an_int(\"/dev/null\")\n\n    # _build/default/test.exe -i input.txt -o output.txt -n 123\n    Fatal error: exception Minicli__CLI.Option_is_mandatory(\"-x\")\n\n    # _build/default/test.exe -i input.txt -o output.txt -n 123 -x /dev/null\n    Fatal error: exception Minicli__CLI.Not_a_float(\"/dev/null\")\n\n    # _build/default/test.exe -i input.txt -o output.txt -n 123 -x 0.123\n    i: input.txt o: output.txt n: 123 x: 0.123000 v: false\n\n    # _build/default/test.exe -i input.txt -o output.txt -n 123 -x 0.123 -v\n    i: input.txt o: output.txt n: 123 x: 0.123000 v: true\n\n    # _build/default/test.exe -i input.txt -o output.txt -n 123 -x 0.123 -v -i input.bin\n    Fatal error: exception Minicli__CLI.More_than_once(\"-i, --input\")\n\n    # _build/default/test.exe --toto titi -i input.txt -o output.txt -n 123 -x 0.123 -v -y 42\n    Fatal error: exception Minicli__CLI.Unused_options(\"--toto,-y\")\n\n# Bibliography\n\nStephenson, N. (1999). In the beginning... was the command line. New York: Avon books.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funixjunkie%2Fminicli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funixjunkie%2Fminicli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funixjunkie%2Fminicli/lists"}