Skip to main content

Module utils

Module utils 

Source
Expand description

Shared terminal utilities.

Currently exposes a single helper, confirm, which prints a yes/no prompt and reads a single line from stdin. Used by commands::remove and commands::clear before destructive operations.

Functionsยง

confirm
Prompts the user for confirmation.