{"id":23546360,"url":"https://github.com/adamperkowski/cliq","last_synced_at":"2025-11-03T17:30:29.639Z","repository":{"id":269301040,"uuid":"906882315","full_name":"adamperkowski/cliq","owner":"adamperkowski","description":"The Jule CLI Library [WIP]","archived":false,"fork":false,"pushed_at":"2025-02-10T21:03:26.000Z","size":64,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T01:44:48.681Z","etag":null,"topics":["cli","jule","julelang","library"],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adamperkowski.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"adamperkowski","custom":"https://adamperkowski.dev/donate"}},"created_at":"2024-12-22T07:31:11.000Z","updated_at":"2025-02-13T13:19:07.000Z","dependencies_parsed_at":"2024-12-22T15:29:41.439Z","dependency_job_id":"27af9764-f01b-44a0-8a63-f33c808c4e47","html_url":"https://github.com/adamperkowski/cliq","commit_stats":null,"previous_names":["adamperkowski/cliq"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamperkowski%2Fcliq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamperkowski%2Fcliq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamperkowski%2Fcliq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamperkowski%2Fcliq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamperkowski","download_url":"https://codeload.github.com/adamperkowski/cliq/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239418545,"owners_count":19635203,"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","jule","julelang","library"],"created_at":"2024-12-26T09:01:16.484Z","updated_at":"2025-11-03T17:30:29.590Z","avatar_url":"https://github.com/adamperkowski.png","language":"Makefile","funding_links":["https://github.com/sponsors/adamperkowski","https://adamperkowski.dev/donate"],"categories":["Libraries"],"sub_categories":[],"readme":"\u003cdiv align='center'\u003e\n\n# \u003cimg width='512' src='/cliq.webp'\u003e\u003cbr\u003eThe Jule CLI Library\n\nA Jule library for creating command-line interfaces.\n\n[Usage](#usage) |\n[Examples](/examples) |\n[Donate](https://github.com/sponsors/adamperkowski)\n\n\u003c/div\u003e\n\n## Usage\nTo install the library, follow the steps below:\n\n1. Download the library package from the [releases page](https://github.com/adamperkowski/cliq/releases)\n2. Extract the package\n3. Include the extracted directory in your project's source (don't forget to run `julec mod init`)\n\nExample usage of the library:\n\n```jule\nuse \"cliq\"\n\nfn main() {\n\tmut cliq := cliq::Builder{\n\t\tArgs: {\n\t\t\t// flag: default value (type)\n\t\t\t\"ping\": false,\n\t\t\t\"message\": \"\",\n\t\t},\n\t}.Help().Build()\n\n\tcliq.GetCLI()\n\tcliq.Parse()\n\n\tping := cliq.Get(\"ping\")       // bool due to the default value\n\tmessage := cliq.Get(\"message\") // str due to the default value\n\n\tif ping == true {\n\t\tprint(\"pong! \")\n\t\tprintln(message)\n\t}\n}\n```\n\nSee the [examples](/examples) directory for more examples.\n\n## License\nThe extension is distributed under the terms of the BSD 3-Clause license.\u003cbr\u003e\n[See License Details](/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamperkowski%2Fcliq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamperkowski%2Fcliq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamperkowski%2Fcliq/lists"}