class

LLM::CLI::Shell

Inherits Reference / Object

Constants

AVAILABLE_SHELLS = ((File.read("/etc/shells")).split("\n")).map!(&.strip).reject!(&.starts_with?('#'))
PREFERRED_SHELLS = {ENV["SHELL"]?, "/zsh", "/bash", "/sh"}

Instance methods

get_input(prompt)
Source
operating_system
Source
selected

automatically select a shell to run commands in based on what's available in the users environment

Source