{"id":22903648,"url":"https://github.com/iseki0/cmdpipe","last_synced_at":"2025-05-08T17:02:24.172Z","repository":{"id":175373602,"uuid":"651833023","full_name":"iseki0/cmdpipe","owner":"iseki0","description":"Utils for command line call","archived":false,"fork":false,"pushed_at":"2024-06-20T10:14:36.000Z","size":251,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-21T00:41:35.191Z","etag":null,"topics":["cmdline","java","kotlin","utils"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iseki0.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":"2023-06-10T08:28:11.000Z","updated_at":"2024-06-20T10:14:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"dce68c55-fd65-4a46-9999-342f218bc962","html_url":"https://github.com/iseki0/cmdpipe","commit_stats":null,"previous_names":["iseki0/cmdpipe"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iseki0%2Fcmdpipe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iseki0%2Fcmdpipe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iseki0%2Fcmdpipe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iseki0%2Fcmdpipe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iseki0","download_url":"https://codeload.github.com/iseki0/cmdpipe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229639976,"owners_count":18102833,"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":["cmdline","java","kotlin","utils"],"created_at":"2024-12-14T02:38:07.183Z","updated_at":"2024-12-14T02:38:07.760Z","avatar_url":"https://github.com/iseki0.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cmdpipe(Deprecated)\n\n### Deprecated, don't use\n\n[![Maven Central](https://img.shields.io/maven-central/v/space.iseki.cmdpipe/cmdpipe)](https://mvnrepository.com/artifact/space.iseki.cmdpipe/cmdpipe)\n\n\nUtils for command line call\n\n## Example\n\n```kotlin\nval r = cmdline(\"git\", \"clone\", \"https://github.com/iseki0/cmdpipe\")\n    .withWorkingDirectory(File(\"/dit/to/clone\"))\n    .handleStdout { input -\u003e input.reader().readText() }\n    .withTimeout(30_000)\n    .execute()\ncheck(r.exitCode == 0) { \"Clone failed\" }\nprintln(\"stdout: ${r.stdoutValue}\") // because we `readText`, so here's the text\nprintln(\"stderr: ${r.stderrSnapshot}\")\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiseki0%2Fcmdpipe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiseki0%2Fcmdpipe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiseki0%2Fcmdpipe/lists"}