about summary refs log tree commit diff stats
path: root/common/files/init
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-06-11 09:06:37 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-06-11 09:06:37 +0200
commit3584d8ecaa996f884b0cf2ae0b2c157a03a6c47c (patch)
tree172054b5abce6d8df955f53a55a893c3d5ff5431 /common/files/init
parentfeat(common/init): Add basic handling of licenses (diff)
downloadflake-templates-3584d8ecaa996f884b0cf2ae0b2c157a03a6c47c.tar.gz
flake-templates-3584d8ecaa996f884b0cf2ae0b2c157a03a6c47c.zip
feat(templates/rust/Cargo.toml): Add the required meta-data for `crates.io`
Diffstat (limited to 'common/files/init')
-rwxr-xr-xcommon/files/init1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/files/init b/common/files/init
index dfdf8c6..dd75fc3 100755
--- a/common/files/init
+++ b/common/files/init
@@ -66,6 +66,7 @@ prompt OWNER "The name of owner of the repository" "$AUTHOR_NAME"
 prompt DESCRIPTION "The description of this project" "[can be empty]"
 prompt CURRENT_DATE "The stylized version of the current date" "$(date +'%b %Y')"
 prompt YEAR "The year the work on this has begun (for copyright reasons)" "$(date +'%Y')"
+prompt APPLICATION_SOURCE_CODE_REPOSITORY "The package's source code repository URL" "https://$REMOTE/$OWNER/$REPOSITORY"
 
 # LICENSE.spdx data (source: https://github.com/david-a-wheeler/spdx-tutorial)
 if [ -e ./lpm.toml ]; then