Skip to main content

Module badge_cmd

Module badge_cmd 

Source
Expand description

Shareable savings badges for pull requests and social posts.

Structs§

Badge
A compact, shareable representation of the session’s savings.

Enums§

BadgeCommand
Operations supported by lean-ctx badge.

Functions§

cmd_badge_stats
Return recent metrics as machine-readable badge statistics.
generate_badge
Generate a badge for one session. The share link uses one session because this function deliberately has no filesystem dependency.
generate_github_action
Render the workflow installed by lean-ctx badge install.