You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the rewrite asdf version displays asdf help thus easily confusing scripts detecting what version of asdf is installed.
The version number is still listed on line 1 of the output, so in that sense it could be argued to still be valid output.
However this is not usable in reality, since virtually all version detections are done lazily, assuming the second word is the version, not filtering additional lines of output.
End result: this causes essentially all scripts checking what asdf is installed to fail
Steps to Reproduce
asdf version
Expected Behaviour
version: v0.16.1
Actual Behaviour
version: 0.16.1
MANAGE PLUGINS
asdf plugin add [] Add a plugin from the plugin repo OR,
add a Git repo as a plugin by
specifying the name and repo url
asdf plugin list [--urls] [--refs] List installed plugins. Optionally show
git urls and git-ref
asdf plugin list all List plugins registered on asdf-plugins
repository with URLs
asdf plugin remove Remove plugin and package versions
asdf plugin update [] Update a plugin to latest commit on
default branch or a particular git-ref
asdf plugin update --all Update all plugins to latest commit on
default branch
MANAGE TOOLS
asdf current Display current version set or being
used for all packages
asdf current Display current version set or being
used for package
asdf help [] Output documentation for plugin and tool
asdf install Install all the package versions listed
in the .tool-versions file
asdf install Install one tool at the version
specified in the .tool-versions file
asdf install Install a specific version of a package
asdf install latest[:] Install the latest stable version of a
package, or with optional version,
install the latest stable version that
begins with the given string
asdf latest [] Show latest stable version of a package
asdf latest --all Show latest stable version of all the
packages and if they are installed
asdf list [version] List installed versions of a package and
optionally filter the versions
asdf list all [] List all versions of a package and
optionally filter the returned versions
asdf set [-h] [-p] <versions...> Set a tool version in a .tool-version in
the current directory, or a parent
directory.
asdf uninstall Remove a specific version of a package
asdf where [] Display install path for an installed
or current version
asdf which Display the path to an executable
UTILS
asdf exec [args...] Executes the command shim for current version
asdf env [util] Runs util (default: env) inside the
environment used for command shim execution.
asdf info Print OS, Shell and ASDF debug information.
asdf version Print the currently installed version of ASDF
asdf reshim Recreate shims for version of a package
asdf shimversions List the plugins and versions that
provide a command
Describe the Bug
After the rewrite
asdf version
displaysasdf help
thus easily confusing scripts detecting what version of asdf is installed.The version number is still listed on line 1 of the output, so in that sense it could be argued to still be valid output.
However this is not usable in reality, since virtually all version detections are done lazily, assuming the second word is the version, not filtering additional lines of output.
End result: this causes essentially all scripts checking what asdf is installed to fail
Steps to Reproduce
asdf version
Expected Behaviour
version: v0.16.1
Actual Behaviour
version: 0.16.1
MANAGE PLUGINS
asdf plugin add [] Add a plugin from the plugin repo OR,
add a Git repo as a plugin by
specifying the name and repo url
asdf plugin list [--urls] [--refs] List installed plugins. Optionally show
git urls and git-ref
asdf plugin list all List plugins registered on asdf-plugins
repository with URLs
asdf plugin remove Remove plugin and package versions
asdf plugin update [] Update a plugin to latest commit on
default branch or a particular git-ref
asdf plugin update --all Update all plugins to latest commit on
default branch
MANAGE TOOLS
asdf current Display current version set or being
used for all packages
asdf current Display current version set or being
used for package
asdf help [] Output documentation for plugin and tool
asdf install Install all the package versions listed
in the .tool-versions file
asdf install Install one tool at the version
specified in the .tool-versions file
asdf install Install a specific version of a package
asdf install latest[:] Install the latest stable version of a
package, or with optional version,
install the latest stable version that
begins with the given string
asdf latest [] Show latest stable version of a package
asdf latest --all Show latest stable version of all the
packages and if they are installed
asdf list [version] List installed versions of a package and
optionally filter the versions
asdf list all [] List all versions of a package and
optionally filter the returned versions
asdf set [-h] [-p] <versions...> Set a tool version in a .tool-version in
the current directory, or a parent
directory.
asdf uninstall Remove a specific version of a package
asdf where [] Display install path for an installed
or current version
asdf which Display the path to an executable
UTILS
asdf exec [args...] Executes the command shim for current version
asdf env [util] Runs util (default:
env
) inside theenvironment used for command shim execution.
asdf info Print OS, Shell and ASDF debug information.
asdf version Print the currently installed version of ASDF
asdf reshim Recreate shims for version of a package
asdf shimversions List the plugins and versions that
provide a command
RESOURCES
GitHub: https://github.com/asdf-vm/asdf
Docs: https://asdf-vm.com
"Late but latest"
-- Rajinikanth
Environment
global issue, does not depend on local env
asdf plugins affected (if relevant)
No response
The text was updated successfully, but these errors were encountered: