Skip to content
v0.1.3

Enums Module API Reference

This section documents the internals of the enums module in Bijux CLI.

bijux_cli.core.enums

Defines the output format enumeration for the Bijux CLI.

This module provides the OutputFormat enum, which represents the supported structured output formats (JSON and YAML). Using an enum ensures type safety and provides a single source of truth for format names. It also includes a mechanism for case-insensitive matching.

OutputFormat

Bases: str, Enum

Specifies the supported structured output formats for CLI responses.

This enum supports case-insensitive matching, so OutputFormat("JSON") and OutputFormat("yaml") are both valid.