Overview
-
module Samovar
-
class Command
Represents a command in the command-line interface.
-
class Error
The base class for all Samovar errors.
-
class InvalidInputError
Raised when invalid input is provided on the command line.
-
class MissingValueError
Raised when a required value is missing.
-
class Failure
Represents a runtime failure in command execution.
-
class Flags
Represents a collection of flag alternatives for an option.
-
class Flag
Represents a single command-line flag.
-
class ValueFlag
Represents a flag that accepts a value or acts as a boolean.
-
class BooleanFlag
Represents a boolean flag with
--flag
and--no-flag
variants. -
class Many
Represents multiple positional arguments in a command.
-
class Nested
Represents nested sub-commands in a command.
-
class One
Represents a single positional argument in a command.
-
class Option
Represents a single command-line option.
-
class Options
Represents a collection of command-line options.
-
module Output
Namespace for output formatting classes.
-
class Columns
Represents column widths for aligned output formatting.
-
class Header
Represents a header row in usage output.
-
class Row
Represents a row in usage output.
-
class Rows
Represents a collection of rows for usage output.
-
class UsageFormatter
Formats and prints usage information to a terminal.
-
-
class Split
Represents a split point in the command-line arguments.
-
class Table
Represents a table of parsing rows for a command.
-