File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2- # hdi - "How Do I..." — Extract setup/run commands from a README.
2+ # hdi - "How do I..." — Extracts setup/run commands from a README.
33#
44# Usage:
5- # hdi Interactive command picker (default in a terminal)
6- # hdi install Just install/setup commands
7- # hdi run Just run/start commands
8- # hdi test Just test commands
9- # hdi all Show all matched sections
5+ # hdi Interactive command picker (default in a terminal)
6+ # hdi install Just install/setup commands
7+ # hdi run Just run/start commands
8+ # hdi test Just test commands
9+ # hdi all Show all matched sections
1010# hdi [mode] --no-interactive Print commands without the picker
11- # hdi [mode] --full Include prose around commands
12- # hdi [mode] --raw Plain markdown output (no colour, good for piping)
13- # hdi [mode] /path Scan a specific directory
11+ # hdi [mode] --full Include prose around commands
12+ # hdi [mode] --raw Plain markdown output (no colour, good for piping)
13+ # hdi [mode] /path Scan a specific directory
1414# hdi [mode] /path/to/file.md Parse a specific markdown file
1515#
1616# Interactive controls:
17- # ↑/↓ k/j Navigate commands
17+ # ↑/↓ k/j Navigate commands
1818# Enter Execute the highlighted command
1919# c Copy highlighted command to clipboard
2020# q / Esc Quit
You can’t perform that action at this time.
0 commit comments