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

Nobody has claimed this yet.

Assessment

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

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.

Description

feature request topic: cli - general

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.

Dominant language
Go
Stars
1.5k
Forks
73
Avg merge
1d 8h
Merged PRs (30d)
7

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/gh-stack

All issues in github/gh-stack

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.