gsh/command/bindings

The bindings module provides functionality for inspecting the current variable environment of the shell session.

When a user types a command to list active variables, this module formats and prints the active bindings that are currently persisted in the REPL’s state.

Values

pub fn show(bindings: List(binding.Binding)) -> Nil

Prints a formatted summary of all currently active variables in the REPL session. Outputs a list of variable names followed by the total count.

Search Document