**What**
- Update the help text and the template guide to document the behavior
of the URL fragement to pin the branch or tag
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
Adding template store describe command to output
the whole json template object aka. describing the
template
Signed-off-by: Martin Dekov (VMware) <mdekov@vmware.com>
Removing multiple repositories pull feature for
simplicity along with adding information on the
command in TEMPLATE.md file
Signed-off-by: Martin Dekov (VMware) <mdekov@vmware.com>
This commit adds the OPENFAAS_TEMPLATE_URL environment variable for
overrides. The default template URL can be overriden in two places
including an environmental variable.
1st priority CLI input
2nd priority `OPENFAAS_TEMPLATE_URL` environmental variable
Signed-off-by: Swarvanu Sengupta <swarvanusg@gmail.com>
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
mocked local template repository for test
update TEMPLATE.md to reflect that docker is a language
rename stack variable to stackYaml to avoid conflict with imported package
Signed-off-by: Minh-Quan TRAN <account@itscaro.me>
**What**
- Add generic vcs support
- Add specific git support to pull templates from arbitrary git repos
- Add a global debug flag
- Update unit tests
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
Pull language templates from any repo that has a 'template/' directory
in the root with 'faas-cli template pull <github repo>'.
Also allows 'faas-cli new --lang' to list available languages
Signed-off-by: Eric Stoekl <ems5311@gmail.com>
Signed-off-by: Minh-Quan TRAN <account@itscaro.me>