https://github.com/rawnly/runner
π
https://github.com/rawnly/runner
Last synced: 11 months ago
JSON representation
π
- Host: GitHub
- URL: https://github.com/rawnly/runner
- Owner: rawnly
- Created: 2024-07-30T06:47:40.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-10-17T01:24:52.000Z (almost 2 years ago)
- Last Synced: 2025-02-10T02:54:39.998Z (over 1 year ago)
- Language: Rust
- Homepage:
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```