Skip to main content

Module cli_builder

Module cli_builder 

Source
Expand description

CLI argument builder utilities for constructing plot parameters.

This module contains helper functions for building projection-specific parameter structs from command-line arguments and configuration. It extracts common logic from main.rs to reduce duplication and improve maintainability.

Functionsยง

build_gnomonic_params
Build GnomonicParams from arguments and processed data.
build_hammer_params
Build HammerParams from arguments and processed data.
build_mollweide_params
Build MollweideParams from arguments and processed data.
create_pixel_mask
Create a pixel mask from command-line arguments.
parse_overlay_coord
Parse overlay graticule coordinate system.
resolve_graticule_coord
Resolve graticule coordinate system for full-sky projections.
resolve_overlay_color
Resolve overlay color from command-line arguments.