Allow to create new projects (intelligently) in existing directory
#9.456 geöffnet am 10. Mai 2021
Repository-Metriken
- Stars
- (46.915 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 1T 15h) (34 gemergte PRs in 30 T)
Beschreibung
When creating a new service via serverless create, cloudflare-workers template won't complete if .gitignore is present, and cannot be ignored.
Use case description
When creating a new service using the cloudflare-workers template (and likely others, I'm not sure), I may already have a .gitignore file which covers more things than just Serverless. I don't want to override it. Maybe I want to add to it. But I don't want to be blocked from creating the initial setup for a new service if I want to keep my .gitignore.
Proposed solution
Provide a CLI flag to avoid trying to create a .gitignore file. Ideally, provide an option to merge with existing.
Related: https://github.com/serverless/serverless/issues/3582