Skip to content

"faas-cli new" should accept option to use default stack.yml name #371

Open
@alexellis

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions