Add docs and enable cookiecutter to support other templates

This commit is contained in:
Bilawal Hameed
2020-02-03 15:17:28 +01:00
parent 7d9160db50
commit 7936a0643d
3 changed files with 20 additions and 2 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -e
# Build the container
docker build $(pwd)/tools/cookiecutter -t backstage/tools/cookiecutter --quiet
# Run cookiecutter with our arguments
COOKIECUTTER_FLAGS=${@:-""}
docker run -it -v $(pwd):/app -w /app backstage/tools/cookiecutter $COOKIECUTTER_FLAGS