aboutsummaryrefslogtreecommitdiffstats
path: root/Justfile
diff options
context:
space:
mode:
authormurilo ijanc2025-11-20 17:03:54 -0300
committermurilo ijanc2025-11-20 17:03:54 -0300
commitefda331aa8bf3fb18f7cea38418e5952f02852f2 (patch)
tree9c2f8d25b5788d19fe75ba92df9b6a8ab313cd88 /Justfile
parentcd7cf0434f173b3ac135f2678ab38d1bc82f19c4 (diff)
downloadtemplates-efda331aa8bf3fb18f7cea38418e5952f02852f2.tar.gz
Add template cli
Diffstat (limited to 'Justfile')
-rw-r--r--Justfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Justfile b/Justfile
index 1f0bdc5..ce49571 100644
--- a/Justfile
+++ b/Justfile
@@ -4,6 +4,15 @@ default:
generate-all:
just web
just lib
+ just cli
+
+
+cli $CARGO_NAME="your name" $CARGO_EMAIL="author@example.com":
+ rm -rv cli-generated
+ cargo generate --path ./cli \
+ --name cli-generated \
+ --define project-description="An example generated using the cli template" \
+ --define use-gitserver=false
web $CARGO_NAME="your name" $CARGO_EMAIL="author@example.com":
rm -rv web-generated