Add option to allow adding alias even if there's already a binary in path with that name
未关闭
适合新手
feature request
topic: cli - general
- 主要语言
- Go
- 星标
- 1.5k
- 派生
- 70
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 7
描述
Often we want to still add the alias even if it shadows an existing binary. While the check makes a ton of sense, having the option to skip it with a `--force` flag of some kind would be really useful.
贡献指南
调研方向
Locate the command that adds aliases and read the existing check for a binary with the same name in PATH. Trace how command-line options are defined, then verify that the force option permits the alias and that the existing collision behavior remains unchanged.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- go
- 领域
- cli
- Issue 类型
- 功能
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 68/100