An open API service indexing awesome lists of open source software.

https://github.com/rawnly/runner

πŸƒ
https://github.com/rawnly/runner

Last synced: 11 months ago
JSON representation

πŸƒ

Awesome Lists containing this project

README

          

# πŸƒRunner
Hotreload for scripting

## Usage
```sh
Usage: runner [OPTIONS] [PATH]

Arguments:
[PATH] path to the file to watch

Options:
--runtime runtime to use for the file if not provided, it will be inferred from the file extension [possible values: perl, php, ruby, c, cpp, python, python3, node, go, typescript, c-sharp, java, swift, scala, rust, shell, unsupported]
--command command to run when the file changes - if includes whitespace, it will be split and the first part will be the command when using docker you can use {entrypoint} to refer to the executable
--image
-e environment variables to pass to the command e.g. `--env "KEY=VALUE"`
--no-docker do not use docker to run the code this is useful when you want to run the code on your local machine
-h, --help Print help
```

## Supported Runtimes
Runtimes are automatically detected by file extension if not specified
```
Perl
Php
Ruby
C
Cpp
Python
Python3
Node
Go
Typescript
CSharp
Java
Swift
Scala
Rust
Shell
```