SHA256
1
0

Add scripts to role

This commit is contained in:
2026-01-29 01:06:09 -05:00
parent 62c413d42d
commit b5e082e400
23 changed files with 8 additions and 23 deletions

View File

@@ -0,0 +1,6 @@
#!/usr/bin/env bash
# Make a nice markdown file from a directory tree
tree=$(tree -f --noreport --charset ascii "$1" |
sed -e 's/| \+/ /g' -e 's/[|`]-\+/ */g' -e 's:\(* \)\(\(.*/\)\([^/]\+\)\):\1[\4](\2):g')
printf "# Code/Directory Structure:\n\n%s" "$tree"