Files
shell.kt/README.md
2026-02-15 14:06:35 +01:00

29 lines
501 B
Markdown

# shell-kt
`shell-kt` is a Kotlin Multiplatform library that enables the execution of shell commands.
## Installation
Add the following to your `build.gradle.kts`.
```kotlin
repositories {
maven("https://git.infendro.com/api/packages/Infendro/maven")
}
dependencies {
implementation("com.infendro:shell:1.1.0")
}
```
## Usage
```kotlin
suspend fun main() {
val result = execute("echo", "Hello World!")
println(result.code) // 0
println(result.value) // Hello World!
}
```