Add `which`

Open
#154 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust

Research direction

No source file or test is named in the issue. Start by locating the entry points for existing command implementations and their CLI tests, then review how platform command paths are resolved. Done means a usable which command is added without incorporating the cited GPL-licensed implementations, following the repository's existing conventions.

Written by the indexing model from the issue text.

Description

  • where: Where-Object in PowerShell
  • Get-Command/gcm: You have to use (gcm COMMAND).path to get the path string, which is too verbose

Ubuntu package: debianutils (https://salsa.debian.org/debian/debianutils) LICENSE
RHEL package: which (https://savannah.gnu.org/projects/which/)
GNUWin32: https://gnuwin32.sourceforge.net/packages/which.htm

Unfortunately all of them are licensed under GPL. No MIT alternatives, even in https://github.com/uutils/.

Dominant language
Rust
Stars
5.2k
Forks
107
Avg merge
2d 19h
Merged PRs (30d)
4

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 microsoft/coreutils

All issues in microsoft/coreutils

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.