jethrokuan / jethrokuan/koi

Inherit vars from current environment

Open
#2 5 comments 0 reactions 0 assignees View on GitHub
DISCUSSION FEATURE
Dominant language
Shell
Stars
7
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Perhaps a notation such as:

```
foo: inherit
bar
baz
```

in `.vars` would be a way to signify that you're using a specific var that's currently available in the shell environment, without retyping it. eg. folder directory. Not sure if it's worth the complication.

Thoughts? @bucaran

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting how koi currently reads `.vars` and resolves variables from the shell environment. Clarify the proposed `inherit` syntax, its behavior when a variable is missing, and whether the added complexity is acceptable before defining what completion would require.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.