Crates.io | glrun |
lib.rs | glrun |
version | 0.1.2 |
source | src |
created_at | 2024-03-17 17:53:09.608565 |
updated_at | 2024-03-17 22:33:17.964893 |
description | cross platform cmd scripts |
homepage | |
repository | https://github.com/Gl1tchs/glrun |
max_upload_size | |
id | 1176682 |
size | 32,123 |
Command line utility for cross platform scripts.
# script.gs
@windows
- echo "hello windows"
- explorer %USERPROFILE%
@linux
- echo "hello linux"
- ls ~
--
echo 'hellow'
echo 'world'
--
glrun script.gs
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
You can simply install the application using cargo:
cargo install glrun