aboutsummaryrefslogtreecommitdiffstats
path: root/Justfile
diff options
context:
space:
mode:
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