pet icon indicating copy to clipboard operation
pet copied to clipboard

Feature/early eval for parameterized options

Open ppcamp opened this issue 5 months ago • 1 comments

Description of changes:

Add support to early eval an option item.

# same as used to be
cat <file=$(ls)>

# same as used to be
cat <file=|__|_$(ls)_|>

# same as used to be
cat <file=|_opt1_|_opt2_|>

# ADDED
cat <file=|_$(ls)_|>

In this case (last scenario), it'll execute ls using cmd/runner/Run function (which keeps record of folder and shell to use), before create the gui, therefore, allowing user to just select one of the output elements.

example

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

ppcamp avatar Sep 21 '24 19:09 ppcamp