asdf-vm / asdf-vm/asdf

Add verbose flag to commands that execute plugin callbacks

Open
#702 5 comments 17 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
25.6k
Forks
941
Avg merge
9h 24m
Merged PRs (30d)
3

Description

**Is your feature request related to a problem? Please describe.**
Sometimes hard to known what a plugin is doing. Sometimes the `list-all` or `install` command hangs and it isn't possible to see what is going on.

**Describe the solution you'd like**
Add a verbose mode to commands that execute plugin callbacks, `list-all`, `install`, etc...

**Describe similar asdf features and why they are not sufficient**
Plugins sometimes log messages to STDOUT, but the output isn't always very consistent and some plugins do not write out anything.

**Describe workarounds you've considered**
No known workarounds. Looking at the running processes doesn't really help the user understand what is going on.

**Additional context**
Created based on #526

Contributor guide

Open the contributing guide

Research direction

Start by tracing the list-all and install command entry points to the plugin callbacks they execute. Review how those commands currently report output, then define consistent verbose progress reporting for callback execution; done means users can see what is happening when these commands appear to hang.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.