Code Monkey home page Code Monkey logo

Comments (6)

rockwood avatar rockwood commented on May 13, 2024 2

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.

HashNuke avatar HashNuke commented on May 13, 2024

@rockwood Same opinion. Will make the change.

from asdf.

danhper avatar danhper commented on May 13, 2024

I also agree on renaming the current which to version and making which behave like its UNIX counterpart.

from asdf.

rockwood avatar rockwood commented on May 13, 2024

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.

danhper avatar danhper commented on May 13, 2024

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.

rockwood avatar rockwood commented on May 13, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.