"faas-cli new" should accept option to use default stack.yml name
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 816
- Forks
- 230
- Avg merge
- 6h 4m
- Merged PRs (30d)
- 1
Description
When typing in faas-cli new --lang node html-project for instance you get a YAML file named html-project.
We introduced "stack.yml" as a default file-name, but have no way of generating a new function with the stack name of stack.yml. You have to rename it afterwards.
What ideas do you have for allowing this without getting to verbose in the CLI?
faas new --lang python tester --stack=stack.yml
We do have an append flag - perhaps we could look at collapsing the --stack and --append flag into one option?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the faas-cli new command and inspect how it handles the generated stack file, including the existing --stack and --append options. Define and implement a clear option for generating stack.yml, then verify that faas-cli new --lang python tester produces the expected filename without breaking existing naming and append behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100