github / github/gh-stack

Add option to allow adding alias even if there's already a binary in path with that name

Đang mở Phù hợp với người mới
#452 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
feature request topic: cli - general
Ngôn ngữ chính
Go
Star
1.5k
Fork
70
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
7

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
go
Lĩnh vực
cli
Loại issue
Tính năng
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
68/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.