Add docs and enable cookiecutter to support other templates
This commit is contained in:
Executable
+10
@@ -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
|
||||
Reference in New Issue
Block a user