From 1e67b05f624ef2351b3f14206ff8add1651f4a24 Mon Sep 17 00:00:00 2001 From: jolheiser Date: Mon, 13 Jun 2022 22:55:52 -0500 Subject: [PATCH] Update template Signed-off-by: jolheiser --- template.toml | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/template.toml b/template.toml index 1e29c06..4e2ac7e 100644 --- a/template.toml +++ b/template.toml @@ -1,6 +1,18 @@ -gitea_url = "https://git.jojodev.com" -gitea_user = "" -gitea_repo = "" -name = "${TMPL_PROMPT_GITEA_REPO}" -module = "${TMPL_PROMPT_GITEA_URL}/${TMPL_PROMPT_GITEA_USER}/${TMPL_PROMPT_GITEA_REPO}" -version_package = "${TMPL_PROMPT_MODULE}/cmd" \ No newline at end of file +[gitea_url] +default = "https://git.jojodev.com" + +[gitea_user] + +[gitea_repo] + +[name] +default = "${TMPL_PROMPT_GITEA_REPO}" +depends_on = ["gitea_repo"] + +[module] +default = "${TMPL_PROMPT_GITEA_URL}/${TMPL_PROMPT_GITEA_USER}/${TMPL_PROMPT_GITEA_REPO}" +depends_on = ["gitea_url", "gitea_user", "gitea_repo"] + +[version_package] +default = "${TMPL_PROMPT_MODULE}/cmd" +depends_on = ["module"] \ No newline at end of file