Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add command "which" #364

Merged
merged 2 commits into from
Oct 23, 2021
Merged

feat: add command "which" #364

merged 2 commits into from
Oct 23, 2021

Conversation

suzuki-shunsuke
Copy link
Member

@suzuki-shunsuke suzuki-shunsuke commented Oct 23, 2021

Add a sub command which, which outputs the file path of the given command.

$ aqua which <COMMAND>

e.g.

$ aqua which golangci-lint
/home/runner/.aqua/pkgs/github_release/github.com/golangci/golangci-lint/v1.42.1/golangci-lint-1.42.1-linux-amd64.tar.gz/golangci-lint-1.42.1-linux-amd64/golangci-lint
$ aqua which go
/opt/hostedtoolcache/go/1.17.2/x64/bin/go

@suzuki-shunsuke suzuki-shunsuke added the enhancement New feature or request label Oct 23, 2021
@suzuki-shunsuke suzuki-shunsuke added this to the v0.7.8 milestone Oct 23, 2021
@suzuki-shunsuke suzuki-shunsuke marked this pull request as ready for review October 23, 2021 08:38
@suzuki-shunsuke suzuki-shunsuke merged commit 91ac6d2 into main Oct 23, 2021
@suzuki-shunsuke suzuki-shunsuke deleted the feat/add-which branch October 23, 2021 08:38
@suzuki-shunsuke suzuki-shunsuke linked an issue Nov 4, 2021 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

aqua which command
1 participant