{"repo":"lordcodes/turtle","free":true,"listed":false,"github":"https://github.com/lordcodes/turtle","clone":"git clone https://github.com/lordcodes/turtle.git","description":"Run shell commands from Kotlin scripts, apps or Gradle tasks with ease.","language":"Kotlin","stars":261,"topics":["kotlin","kotlin-library","jvm","shell","gradle"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"--- Run shell commands from Kotlin scripts, apps or Gradle tasks with ease. Turtle simplifies the process of running external commands and processes from your Kotlin (or Java) code. It comes bundled with a selection of built-in functions, such as opening MacOS applications and dealing with Git. Running shell commands easily is particularly useful from within Kotlin scripts, command line applications and Gradle tasks. Turtle is mainly aimed at MacOS, some of the shell commands may not exist or work as expected on Linux or Windows. It is planned in the future to alter the API surface to make this clearer when calling commands. &nbsp; Features • Install • Usage • Contributing Features ▶︎ Run shell commands with minimal boilerplate Simply specify the comamnd and its arguments to easily run and retrieve output. ▶︎ Call any of the built-in shell commands Various commands are provided, such as creating a Git commit and opening files. ▶︎ Use the function syntax to run a series of commands Specify a sequence of commands to run within a function block. ▶︎ Capture error exit code and output When a command produces an error, the exit code and error output is thrown as an exception. Install Turtle is provided as a Gradle/Maven dependency. v0.5.0 onwards are available via Maven Central. v0.3.0 and v0.4.0 had issues, so please use v0.5.0 or later. Earlier releases were available via Bintray/JCenter. ▶︎ Gradle Kotlin DSL ▶︎ Gradle Groovy DSL Usage Note: As mentioned above Turtle is mainly ai","default_branch":null,"files":null,"tree":[],"storefront":"/r/lordcodes","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lordcodes/turtle/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}