Comments (6)
I just switched asdf, and the which
command through me off at first. I think the most idiomatic api would have which
mimic the unix command and have a separate command for listing the current version. Just my two cents.
from asdf.
@rockwood Same opinion. Will make the change.
from asdf.
I also agree on renaming the current which
to version
and making which
behave like its UNIX counterpart.
from asdf.
I wonder if it's also worth having the new command print where the current version is being read from. Rbenv does that and proved helpful on a few occasions.
Something like:
> asdf current elixir
1.3.1 (set by /Users/rockwood/.tool-versions)
from asdf.
I agree this would also be a good idea.
I personally prefer asdf version elixir
to asdf current elixir
,
what do you guys think?
from asdf.
My only concern with asdf version ...
is the potential confusion with asdf --version
. Although I don't feel that strongly either way.
from asdf.
Related Issues (20)
- make plugin test support testing without requiring it to be in the git tree HOT 2
- asdf should auto install plugins for tool names it has in the short name repo HOT 3
- bug: nushell `def-env` is deprecated HOT 1
- bug: Can't add plugin R HOT 2
- bug: `asdf latest <plugin>` and `asdf latest --all` are sometimes inconsistent
- bug: asdf says "no preset version installed" but it is HOT 3
- Document supported operating systems. HOT 2
- Repo README lint test status badges affect anchor URL HOT 2
- bug: Unable to install erlang without IPv4 HOT 1
- What is `.asdfrc`? HOT 2
- bug: asdf current <tool> is not report correctly HOT 2
- bug: Do not hardcode `master` branch
- A support for command aliases HOT 1
- bug: Bad error message
- Support things like Brewfile HOT 1
- bug: "which" parameter cannot find
- recursive upward search HOT 2
- bug: getting "You have configured asdf to preserve downloaded files" when I don't HOT 6
- Allow running tools from one another without passing `ASDF_DATA_DIR` around
- Add the ability to track which versions are in use HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asdf.