{"id":16903947,"url":"https://github.com/phatblat/shellexec","last_synced_at":"2026-02-25T10:34:59.187Z","repository":{"id":26188490,"uuid":"107608843","full_name":"phatblat/ShellExec","owner":"phatblat","description":"🐚 Gradle plugin with a simpler Exec task","archived":false,"fork":false,"pushed_at":"2024-05-20T14:23:35.000Z","size":540,"stargazers_count":8,"open_issues_count":3,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-18T10:21:28.628Z","etag":null,"topics":["bash","exec","gradle","kotlin","shell"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phatblat.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-10-19T23:23:02.000Z","updated_at":"2024-05-20T14:23:39.000Z","dependencies_parsed_at":"2024-10-28T13:41:40.369Z","dependency_job_id":null,"html_url":"https://github.com/phatblat/ShellExec","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phatblat%2FShellExec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phatblat%2FShellExec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phatblat%2FShellExec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phatblat%2FShellExec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phatblat","download_url":"https://codeload.github.com/phatblat/ShellExec/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244943725,"owners_count":20536290,"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":["bash","exec","gradle","kotlin","shell"],"created_at":"2024-10-13T18:29:58.723Z","updated_at":"2026-02-25T10:34:59.114Z","avatar_url":"https://github.com/phatblat.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ShellExec\n\nA simpler extension point than [`Exec`](https://docs.gradle.org/current/dsl/org.gradle.api.tasks.Exec.html) for ad-hoc Gradle tasks that run shell commands.\n\n## Features\n\n- Specify entire `command` line in one string (instead of `List\u003cCharSequence\u003e`).\n- Append/prepend to the current `PATH`.\n- Execute a `command | pipe` or `conditional \u0026\u0026 command || chain`.\n- Easy access to `stdout` and `stderr`.\n\n:warning: Not compatible with `Exec` tasks yet (see [#11](https://github.com/phatblat/ShellExec/issues/11)), but the current API is very similar.\n\n## Example `build.gradle.kts`\n\n```kts\nimport at.phatbl.shellexec.ShellExec\n\nbuildscript {\n    repositories.gradlePluginPortal()\n    dependencies.classpath(\"at.phatbl:shellexec:+\")\n}\n\nval lolBoxFortune by registering(ShellExec::class) {\n    command = \"fortune | boxes --design parchment --no-color | lolcat --force\"\n}\n```\n\n\u003e Note that the `boxes` and `lolcat` tools need to be installed for the above `lolBoxFortune` to work.\n\n### Task Output\n\n```text\n\u003e Task :lolBoxFortune\n ____________\n/\\           \\\n\\_| Ship it. |\n  |          |\n  |   _______|_\n   \\_/_________/\n\n\nBUILD SUCCESSFUL in 2s\n1 actionable task: 1 executed\n```\n\n## License\n\nThis repo is licensed under the MIT License. See the [LICENSE](LICENSE.md) file for rights and limitations.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphatblat%2Fshellexec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphatblat%2Fshellexec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphatblat%2Fshellexec/lists"}