Kotlin / Kotlin/kotlin-interactive-shell

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

Open
#47 1 comment 7 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
612
Forks
40
PR merge metrics
No merged PRs in 30d

Description

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"`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the ki-shell command entry point and its argument parsing. Add an option that accepts a script source location and runs it non-interactively, then verify that a supplied script executes without an interactive prompt.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.