{"id":16842860,"url":"https://github.com/teverett/krepl","last_synced_at":"2025-04-11T05:52:53.274Z","repository":{"id":37980821,"uuid":"160282558","full_name":"teverett/krepl","owner":"teverett","description":"A simple framework for creating Java REPLs","archived":false,"fork":false,"pushed_at":"2025-02-26T07:06:24.000Z","size":140,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T05:52:41.648Z","etag":null,"topics":["java","repl"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/teverett.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":"2018-12-04T02:13:02.000Z","updated_at":"2025-01-05T20:21:57.000Z","dependencies_parsed_at":"2024-01-13T22:28:23.518Z","dependency_job_id":"e3f56791-5972-43cb-861e-be8e4aef2218","html_url":"https://github.com/teverett/krepl","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teverett%2Fkrepl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teverett%2Fkrepl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teverett%2Fkrepl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teverett%2Fkrepl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teverett","download_url":"https://codeload.github.com/teverett/krepl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248351407,"owners_count":21089271,"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":["java","repl"],"created_at":"2024-10-13T12:48:47.965Z","updated_at":"2025-04-11T05:52:53.256Z","avatar_url":"https://github.com/teverett.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"![CI](https://github.com/teverett/krepl/workflows/CI/badge.svg)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/ea088223d07242f196809250a2d255e9)](https://www.codacy.com/app/teverett/krepl?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=teverett/krepl\u0026amp;utm_campaign=Badge_Grade)\n[![DepShield Badge](https://depshield.sonatype.org/badges/teverett/krepl/depshield.svg)](https://depshield.github.io)\n\nK-REPL\n===\n\nK-REPL is a simple framework for building command-line REPLs in Java\n\nMaven coordinates\n---\n\n```\n\u003cgroupId\u003ecom.khubla.krepl\u003c/groupId\u003e\n\u003cartifactId\u003ekrepl\u003c/artifactId\u003e\n\u003cversion\u003e1.2.0\u003c/version\u003e\n\u003cpackaging\u003ejar\u003c/packaging\u003e\n```\n\nAdding Commands\n---\n\nTo add a command, simply implement a class which extends `AbstractCommandImpl`.  K-Repl will automatically find the class and add the command to the REPL.\n\nRunning the REPL\n---\n\nSimply instantiate the REPL class and call the method `repl()`\n\n```\nREPL repl = new REPL();\nrepl.repl();\n```\n\nIt is possible to pass command strings directly to the repl via the `REPL.executeCommmandString()` API.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteverett%2Fkrepl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteverett%2Fkrepl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteverett%2Fkrepl/lists"}