You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I want to understand the magic behind the console curtain a user could set:
export ALIASES_INTERACTIVE=true
and then when they run console at each step, before execution the user sees the current stdout and stderr and the proposed command and gets to choose whether they want to continue or not.
This proposed command will include any positional params or arguments included, so basically if the user copied it and run it in another shell it would work.
The text was updated successfully, but these errors were encountered:
Proposal: Interactive mode when executing an alias
Problem
Depending on how you use aliases things can get quite abstracted.
You can nest aliases, use positional parameters, pass through arguments etc.
An interactive mode would help to break down aliases into each of their steps, with confirmation at each step.
E.g.
Imagine I have an alias:
console maps to:
build-container maps to:
run-container maps to:
If I want to understand the magic behind the
console
curtain a user could set:and then when they run
console
at each step, before execution the user sees the current stdout and stderr and the proposed command and gets to choose whether they want to continue or not.This proposed command will include any positional params or arguments included, so basically if the user copied it and run it in another shell it would work.
The text was updated successfully, but these errors were encountered: