From 99f00a307c9ad626ee36c0eea3ba7b9c23035d38 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Mon, 12 Dec 2022 17:59:50 +0300 Subject: [PATCH] add help from d2 tool --- wd2 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wd2 b/wd2 index 9b5792d..ff66d67 100755 --- a/wd2 +++ b/wd2 @@ -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 }