Azure / Azure/azure-functions-core-tools
Parameter `--force` doesn't have any effect in command `func new`
Open
improvement
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 498
- Avg merge
- 4d 20h
- Merged PRs (30d)
- 14
Description
The command `func new` asks for consent to override an existing function with the same name by providing the `--force` flag. The flag doesn't have any effect, though.
The `--force` flag in `func init` works like expected.
I'm running version `4.0.3971`.
Contributor guide
Research direction
Start by reproducing the behavior of `func new` with an existing function and the `--force` flag, then compare it with the working `--force` behavior in `func init`. Done means `func new --force` overrides the existing function without prompting or failing, while the non-forced command retains its consent behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100