add help from d2 tool

This commit is contained in:
Dmitriy Pleshevskiy 2022-12-12 17:59:50 +03:00
parent da8083fc80
commit 99f00a307c
Signed by: pleshevskiy
GPG Key ID: 1B59187B161C0215
1 changed files with 1 additions and 3 deletions

4
wd2
View File

@ -13,9 +13,7 @@ attributes from d2 file. All arguments will be passed to the d2 cli,
but these additional configs overwrite cli arguments with the
same name.
See \`d2 --help\` or \`man d2\` for detailed docs.
See more docs and the source code at https://oss.terrastruct.com/d2
$(d2 --help | tail -n +6 - | sed -e 's/d2 \(layout\|fmt\)/wd2 \1/')
EOF
}