Skip to main content Crate crate_cli Copy item path Source pub use ::log ;output_macro Macro for outputting colored text to the terminal. println_error Prints an error message with red background and white text. println_success Prints a success message with green background and white text. println_warning Prints a warning message with yellow background and white text. Args Parsed command line arguments ColorContrast Provides utilities for calculating and ensuring color contrast ratios. ColorOutput Represents a colored text output with formatting options. ColorOutputBuilder Builder pattern for constructing ColorOutput configurations. ColorOutputList Represents a list of ColorOutput configurations for sequential execution. ColorOutputListBuilder Builder pattern for constructing ColorOutputList configurations. Logger Custom logger implementation for the hyperlane-cli. Package Package information in monorepo PublishResult Publish result for a single package SyncReport Result of a sync operation: which entries were rewritten. Task Represents a collection of text tasks to be executed sequentially. Text Configurable text display with color, background and style options. Version Parsed version components following semantic versioning BumpVersionType Types of version bumps Color Predefined color constants for easy text formatting. ColorType Represents different types of colors that can be used for text formatting. CommandType Available commands DisplayType Specifies whether color applies to text or background. PublishError Error types for publish operation SyncError Error types for sync operation COMMON_YEAR Common Year DAYS Days LEAP_YEAR Leap Year MONTHS Months DERIVE_REGEX Regex pattern to match derive attribute ColorDisplay Trait for converting colors to their ANSI escape sequences. __println_text calculate_time Calculates the current year, month, day, hour, minute, second, millisecond and microsecond. color256_bg_color Generates color code for background colors in 256 colors. color256_fg_color Generates color code for foreground colors in 256 colors. compute_date Computes the year, month, and day from days since Unix epoch (1970-01-01). date Gets the current day, without the time. day Gets the current day. execute_bump Read and update version in Cargo.toml execute_fmt Execute fmt command execute_publish Execute publish command for all packages in workspace execute_sync Align every local path entry under [workspace.dependencies] with the
workspace root version, and (optionally) the dep alias with the member
crate’s actual [package].name. format_path Format code at specific path from_env_var Gets the time zone offset from the system environment variable. gmt Gets the current date and time in GMT format. hour Gets the current hour. is_already_published Check whether cargo publish stderr indicates the package version is
already present on the registry (a success case for idempotent
re-runs). is_leap_year Determines if a year is a leap year. micros Gets the current timestamp in microseconds. millis Gets the current timestamp in milliseconds. minute Gets the current minute. month Gets the current month. output Executes the output operation with the given formatting. output_list Executes a sequence of output operations. parse_args Parse command line arguments print_help Print help message print_version Print version resolve_publish_order Resolve the publish order for a workspace: [workspace.members]
declaration order, with the root package (if any) placed at its
topological position, validated against local dependency constraints. rgb_bg_color Generates color code for true color background colors. rgb_fg_color Generates color code for true color foreground colors. second Gets the current second. time Gets the current time, including the date and time. time_micros Gets the current time with microseconds, including the date and time. time_millis Gets the current time with milliseconds, including the date and time. timestamp Gets the current timestamp in seconds since Unix epoch. timestamp_micros Gets the current timestamp in microseconds since Unix epoch. timestamp_millis Gets the current timestamp in milliseconds since Unix epoch. year Gets the current year.