github / github/gh-stack

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

Open Beginner friendly
#452 0 comments 0 reactions 0 assignees View on GitHub
feature request topic: cli - general
Dominant language
Go
Stars
1.5k
Forks
70
Avg merge
1d 8h
Merged PRs (30d)
7

Description

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.

Contributor guide

Open the contributing guide

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.