asdf-vm / asdf-vm/asdf

Colorize output

Open
#1,796 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
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

N/A

### Describe the proposed solution

Add a `--color=yes` option to colorize output to terminal, something like:

![image](https://github.com/user-attachments/assets/c03b9e0b-93a2-4130-92a8-f98dc35ccde7)

### Describe similar `asdf` features and why they are not sufficient

N/A

### Describe other workarounds you've considered

Used [generic colourizer](https://github.com/garabik/grc) (shown in the screenshot) but I'm getting an error when using it with `asdf shell`.

The error is: `Shell integration is not enabled. Please ensure you source asdf in your shell setup.`

Contributor guide

Open the contributing guide

Research direction

No implementation file, test, or entry point is named. Start by locating asdf's CLI option parsing and terminal-output code, then determine the intended behavior of --color=yes, including its interaction with shell commands; done means the documented option reliably produces colorized terminal output.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, shell
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.