#1041·navi

Ability to generate oneliner cheats dynamically

Author: kqvanityCreated Aug 21, 2026Updated Aug 21, 2026
Labelsnew feature

Is your feature request related to a problem? Please describe. navi's current approach relies on pre-defined oneliner with optional variables at runtime (which can be resolved recursively e.g., variable name inside a variable name). I was wondering if I can embed variable names inside other variable names without pre-emptively/eagerly them being resovled right away.

Describe the solution you'd like Right now, i can rely on multiline variables to select one or more. I'd love to also be able to embed flags within that list, which takes other variables, but only process that variable if the corresponding option has been selected

e.g.,

bash
$ flags: printf '%s\n' \
   "-t:disable default timestamp" \
   "-tt:timestamp as seconds since Jan 1 1970" \
   "port:<port_number>" \
   | column -t -s: | fzf --multi | awk '{print $1}' | tr '\n' ' '

Here <port_number> will be eagerly processed, even if i didn't choose port flag. Matter of fact, even before the flags

Describe alternatives you've considered Having optional variables, but again if the command takes +100 flags, i'd have to have a +100 flags oneliner, and be prompted for each one to pass value/dismiss

Add any other context or screenshots about the feature request here.

ImageImage