1.1.0 release #2
19
README.md
19
README.md
@@ -1,14 +1,15 @@
|
|||||||
# Kotlin Shell
|
# shell-kt
|
||||||
|
|
||||||
This library enables the execution of shell commands in Kotlin Multiplatform.
|
`shell-kt` is a Kotlin Multiplatform library that enables the execution of shell commands.
|
||||||
|
|
||||||
## Features
|
## Targets
|
||||||
|
|
||||||
* Execute commands on the shell.
|
| Target | Status |
|
||||||
* Multiplatform support
|
|------------------|---------------|
|
||||||
* JVM
|
| JVM | Supported |
|
||||||
* JavaScript
|
| JavaScript | Supported |
|
||||||
* Native (Linux)
|
| Native (Linux) | Supported |
|
||||||
|
| Native (Windows) | Not Supported |
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@@ -29,7 +30,7 @@ dependencies {
|
|||||||
```kotlin
|
```kotlin
|
||||||
import com.infendro.shell.Shell
|
import com.infendro.shell.Shell
|
||||||
|
|
||||||
fun main() {
|
suspend fun main() {
|
||||||
// the command to execute
|
// the command to execute
|
||||||
val command = arrayOf("echo", "Hello World!")
|
val command = arrayOf("echo", "Hello World!")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user