From 838b2033d457e7b50a7e844bad259dc59924625e Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Mon, 15 Jan 2024 13:53:05 +0530 Subject: [PATCH] chore: add comments to lune wrapper --- lunew | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lunew b/lunew index 60248c1..aebf7df 100755 --- a/lunew +++ b/lunew @@ -1,5 +1,13 @@ #!/bin/bash +######################################################################### +# A handy bash script which emulates pre 0.8 lune execution behavior. # +# This script checks if there is a lua(u) script at discoverable # +# paths, and if so, executes them with `lune run`, allowing for # +# implicit script execution as before. # +# USAGE: ./lunew [ARGS] [PARAMETERS] # +######################################################################### + lune=$(which lune) if (( $(lune --version | cut -d ' ' -f 2 | cut -d '.' -f 2) >= 8 )); then