glrun

Crates.ioglrun
lib.rsglrun
version0.1.2
sourcesrc
created_at2024-03-17 17:53:09.608565
updated_at2024-03-17 22:33:17.964893
descriptioncross platform cmd scripts
homepage
repositoryhttps://github.com/Gl1tchs/glrun
max_upload_size
id1176682
size32,123
Berke Biricik (Gl1tchs)

documentation

README

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
Commit count: 19

cargo fmt