kotlin-interactive-shell icon indicating copy to clipboard operation
kotlin-interactive-shell copied to clipboard

ki-shell option to run script in non-interactive mode

Open asm0dey opened this issue 3 years ago • 1 comments

Sometimes we need to run some script non-interactively (say for some small automation). It would be nice to have the argument for shell to point program source location.

For reference in awk it's -f and --file, in sed it's the same.

Python also has -c option, which allows passing arbitrary expression like python -c "expression"

asm0dey avatar Oct 12 '20 12:10 asm0dey

This will make ki a replacement of kscript

neworld avatar Apr 01 '21 22:04 neworld