6 lines
254 B
Bash
Executable File
6 lines
254 B
Bash
Executable File
#!/usr/bin/env bash
|
|
root=$(git rev-parse --show-toplevel 2>/dev/null) || { echo "Not in a git repo"; exit 1; }
|
|
grep -F '**Decision ' "$root"/docs/adrs/* \
|
|
| sed "s|$root/docs/adrs/||; s/:/\t/; s/\*\*Decision //; s/:\*\*//" \
|
|
| column -t -s $'\t'
|