From 8ae630231727e541ab28ad749c7b38acc671418b Mon Sep 17 00:00:00 2001 From: kjuulh Date: Fri, 27 Oct 2023 23:53:13 +0200 Subject: [PATCH] feat: add empty Signed-off-by: kjuulh --- cuddle-templates.json | 3 ++- empty/cuddle-template.json | 10 ++++++++++ empty/cuddle.yaml | 7 +++++++ 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 empty/cuddle-template.json create mode 100644 empty/cuddle.yaml diff --git a/cuddle-templates.json b/cuddle-templates.json index 9c39175..47a4390 100644 --- a/cuddle-templates.json +++ b/cuddle-templates.json @@ -2,6 +2,7 @@ "templates": [ "rust-service", "rust-cli", - "rust-lib" + "rust-lib", + "empty" ] } \ No newline at end of file diff --git a/empty/cuddle-template.json b/empty/cuddle-template.json new file mode 100644 index 0000000..625a05d --- /dev/null +++ b/empty/cuddle-template.json @@ -0,0 +1,10 @@ +{ + "name": "empty", + "templating": "tera", + "delimiter": "[[]]", + "prompt": { + "name": { + "description": "Project name" + } + } +} \ No newline at end of file diff --git a/empty/cuddle.yaml b/empty/cuddle.yaml new file mode 100644 index 0000000..ecf6641 --- /dev/null +++ b/empty/cuddle.yaml @@ -0,0 +1,7 @@ +# yaml-language-server: $schema=https://git.front.kjuulh.io/kjuulh/cuddle/raw/branch/main/schemas/base.json + +base: "git@git.front.kjuulh.io:kjuulh/cuddle-base.git" + +vars: + service: "%%name%%" + registry: kasperhermansen