turtle icon indicating copy to clipboard operation
turtle copied to clipboard

Run shell commands from Kotlin scripts, apps or Gradle tasks with ease.

Results 21 turtle issues
Sort by recently updated
recently updated
newest added

### Checklist - [x] I've read the [guide for contributing](https://github.com/lordcodes/turtle/blob/master/CONTRIBUTING.md). - [x] I've checked there are no other [open pull requests](https://github.com/lordcodes/turtle/pulls) for the same change. - [x] I've formatted all...

**Describe the problem** It's often useful to open an URL from a script, for example if the other needs to install something. It's not trivial though, you have to use...

type:enhancement

**Describe the problem** I wonder how hard it would be to move turtle to become a Kotlin multiplatform library. The JVM is fine but a Kotlin native executable is faster...

type:enhancement

**Describe the problem** Assuming I have a script that does a lot of git stuff, I would like to have a [dry run](https://en.wikipedia.org/wiki/Dry_run_(testing)) mode to check that my git syntax...

enhancement

Bumps [com.vanniktech.maven.publish](https://github.com/vanniktech/gradle-maven-publish-plugin) from 0.20.0 to 0.21.0. Release notes Sourced from com.vanniktech.maven.publish's releases. 0.21.0 Changelog Changelog Sourced from com.vanniktech.maven.publish's changelog. Version 0.21.0 (2022-07-11) Behavior changes The com.vanniktech.maven.publish stops adding Maven Central...

**Describe the problem** Currently, there is no way via the API to pipe the output of a command into another command. For example to run something similar to: `echo '{"key":"value"}'...

type:enhancement

### Checklist - [X] I've read the [guide for contributing](https://github.com/lordcodes/turtle/blob/master/CONTRIBUTING.md). - [X] I've checked there are no other [open pull requests](https://github.com/lordcodes/turtle/pulls) for the same change. - [X] I've formatted all...

**Describe the bug** If the output of a shell command is really large then `shellRun` will hang **Checklist** - [x] I've read the [guide for contributing](https://github.com/lordcodes/turtle/blob/master/CONTRIBUTING.md). - [x] I've checked...

Error: ``` Exception in thread "main" com.lordcodes.turtle.ShellFailedException: Running shell command failed at com.lordcodes.turtle.ShellScript.runCommand(ShellScript.kt:87) at com.lordcodes.turtle.ShellScript.command(ShellScript.kt:48) at com.lordcodes.turtle.ShellScript.command$default(ShellScript.kt:44) at MainKt$main$output$1.invoke(Main.kt:6) at MainKt$main$output$1.invoke(Main.kt:5) at com.lordcodes.turtle.ShellKt.shellRun(Shell.kt:20) at com.lordcodes.turtle.ShellKt.shellRun$default(Shell.kt:19) at MainKt.main(Main.kt:5) at MainKt.main(Main.kt) Caused...

Bumps org.jlleitschuh.gradle.ktlint from 11.6.1 to 12.1.0. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.jlleitschuh.gradle.ktlint&package-manager=gradle&previous-version=11.6.1&new-version=12.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...

dependencies