Expand description
Global state management for command-stream
This module handles signal handlers, process tracking, and cleanup, similar to the JavaScript $.state.mjs module.
Structs§
- Global
State - Global state for the command-stream library
- Shell
Settings - Shell settings for controlling execution behavior
Functions§
- get_
shell_ settings - Get current shell settings
- global_
state - Get the global state instance
- reset_
global_ state - Reset the global state (for testing)
- set_
shell_ option - Enable a shell option globally
- unset_
shell_ option - Disable a shell option globally