Repository navigation
ghusage 0.1.4
Markdown output and profile READMEs
- New output format:
--format markdownrendersoverview,daily,weekly,monthly,yearlyandreposas GitHub-flavored Markdown tables.- Text from GitHub is sanitized, and any Markdown or HTML syntax in it is escaped, so it cannot break the tables or add links and images.
- Like JSON and CSV, private repository names are hidden unless
--include-privateis given. - Other commands reject the format with exit code 2.
- New guide: Profile README (日本語). It has a ready-to-copy GitHub Actions workflow that updates a section of your profile README every day. The section sits between
<!-- ghusage:start -->and<!-- ghusage:end -->markers. The workflow keeps the ghusage cache between runs, so each run only syncs what changed. It uses--public-onlyand--require-complete, so a run with incomplete data leaves the README unchanged.
ghusage overview --since 30d --public-only --format markdownFixes
- Terminal UI: on narrow terminals, the Repositories tab now hides its less important columns, so repository names stay readable. It drops PR events, active PRs, issues, merged, reviews and then visibility, in that order. Before, a 110-column terminal left about eight characters for the name.
- Terminal UI: on macOS and Linux,
SIGTERMandSIGHUPnow end the UI the same wayqdoes, so the terminal is restored. Before, the terminal was left in the alternate screen with input echo off.
Documentation
- The home page of the documentation site now shows a terminal screenshot.
- Known limitations are updated for the two fixes above.
Install / update
npm install -g ghusage@0.1.4Full changelog: v0.1.3...v0.1.4