openfaas / openfaas/faas-cli

Feature: Add template save stack

Open
#684 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
816
Forks
230
Avg merge
6h 4m
Merged PRs (30d)
1

Description

PR https://github.com/openfaas/faas-cli/pull/668 introduces a way to configure your templates in a configuration and run command in order the templates to be pulled, but the change does not provide command which will save your configuration.

Expected Behaviour

Add template save stack commands to provide easy configuration of the templates throug the cli, instead of adding raw fields to the yaml file.

Current Behaviour

Once pulling logic is merged(the tagged PR), there is no way to configure templates to your file through the cli, you must manually fill the yaml file where your configuration lives.

Possible Solution

Add template save stack with mandatory flags --name and --url which will append template sources to your configuration.

Steps to Reproduce (for bugs)

N/A ATM.

this is a feature, extension of Issue #617

Context

This is needed for tracking purposes.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing PR #668 and Issue #617 to understand the existing template configuration and pull commands. Locate the CLI entry point for template commands and the configuration structure; done means template save stack accepts mandatory --name and --url flags and appends the template source to the configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.