1.0.0

No more digging through READMEs.

"How do I" surfaces install, run, test and deploy steps and commands all in your terminal.

Try the demo ->

You've just cloned a repo, fired up an editor, and you're scrolling a 400-line README looking for the "Install" section.

Or you're back in a project after a month and can't remember if it's npm run dev, npm start or npm run serve.

Run hdi, pick a command, hit enter, done.

Install

brew install grega/tap/hdi

Works on macOS and Linux.

Demo

Animated demo showing hdi in action

How does it work?

hdi parses a given README's Markdown headings looking for keywords like install, setup, prerequisites, run, usage, getting started, etc. It extracts the fenced code blocks from matching sections and presents them as an interactive, executable list.

Usage

CommandDescription
hdiInteractive picker - shows all sections (default)
hdi installJust install/setup commands (aliases: setup, i)
hdi runJust run/start commands (aliases: start, r)
hdi testJust test commands (alias: t)
hdi deployJust deploy/release commands and platform detection (alias: d)
hdi allAll sections (aliases: a)
hdi contribCommands from contributor/development docs (alias: c)
hdi needsCheck if required tools are installed (alias: n)