Skip to main content

Module cli

Module cli 

Source
Expand description

Command-line interface definitions and user interaction layer.

Contains argument parsing via clap, interactive prompts, input history, and terminal output helpers. This module is intentionally kept separate from authentication logic — it handles only how the user communicates with the tool. CLI user interface layer for ez-token.

This module groups everything related to the command-line interface: argument parsing, interactive prompts, output formatting, and input history. It is intentionally kept separate from the authentication logic in crate::services.

Modules§

args
CLI argument definitions via clap.
auth_params
Resolves authentication parameters from args, profiles, and prompts.
history
Persistent input history for interactive prompts. History management for interactive CLI prompts.
output
Terminal output helpers, spinners, and emoji formatting.