Trevor Brown
09d06ff125
feat(golang-rewrite): create asdf where
command
...
* Move `versions.ParseString` function to the toolversions package
* Create `toolversions.FormatForFS` function
* use new `toolversions.FormatForFS` function
* Create `asdf where` command
* Enable BATS tests for `asdf where` command
2024-12-18 11:32:02 -05:00
Edwin Kofler
e0fd7a7be8
fix: enforce & use consistent function definitions ( #1464 )
2023-01-29 14:52:22 +11:00
Edwin Kofler
28b348a041
chore: Fix ShellCheck errors in tests ( #1450 )
2023-01-23 15:29:18 +11:00
Chris Rose
41162849cf
fix: clarify the wording when no version is set ( #1088 )
...
Co-authored-by: Chris Rose <offline@offby1.net>
Co-authored-by: jthegedus <jthegedus@hey.com>
2021-11-14 14:35:42 +11:00
Daniel Perez
77a748d70a
fix: _where_ bug when multiple versions are selected ( #790 )
...
Fixes #690
2020-08-28 19:24:59 +10:00
Alexandre ZANNI
f5c7dae331
fix: asdf shell command docs & help output ( #737 )
...
Co-authored-by: James Hegedus <james@jthegedus.com>
2020-06-13 10:43:52 +10:00
Victor Hugo Borja
e968fe6142
Subcommand-aware command line interface.
2019-11-27 12:17:17 -06:00
Trevor Brown
02f24df5e8
Improve output of where command when system version is set
2019-03-23 10:45:50 -04:00
Victor Hugo Borja
9cac0ac50a
Faster exec times. Load commands only when nedded.
...
When testing, use `run asdf` to actually test the command
as the user would invoke it, so that we might catch possible
errors on `bin/asdf`.
2019-01-20 02:13:20 -06:00
mig4
a58e9e3c17
Make where command default to current version
...
Allow not specifying the version on command line in which case fall back
to looking it up.
Also add tests for the `where` command.
2018-10-28 17:47:21 +00:00