3 releases

0.1.2 Mar 17, 2024
0.1.1 Mar 17, 2024
0.1.0 Mar 17, 2024

#398 in Command line utilities

Download history 256/week @ 2024-03-13 71/week @ 2024-03-20 21/week @ 2024-03-27 45/week @ 2024-04-03

158 downloads per month

MIT license

10KB
217 lines

glrun

Command line utility for cross platform scripts.

Example:

# script.gs
@windows
- echo "hello windows"
- explorer %USERPROFILE%
@linux
- echo "hello linux"
- ls ~
--
echo 'hellow'
echo 'world'
--
glrun script.gs

Usage:

gl1tch in ~/Projects/glrun λ glrun --help

Cross-Platform script command runner.

USAGE:
    glrun [OPTIONS] <script>

ARGS:
    <script>    Sets the script file or URL to use

OPTIONS:
    -h, --help        Print help information
    -v, --validate    Validate the script only, don't execute it
    -y, --yes         Do not ask for confirmation before running the script

Installation

You can simply install the application using cargo:

cargo install glrun

Dependencies

~18–28MB
~448K SLoC