apple / apple/pkl

support ANSI color output of `pkl eval`

Open
#425 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
11.5k
Forks
402
Avg merge
1d 15h
Merged PRs (30d)
20

Description

I was watching Viktor's [review of pkl](https://www.youtube.com/watch?v=Nm1ioWPRRVQ) and the lack of syntax highlighting shouted me when running `pkl eval` on the command line.

I'm so used to color based syntax highlighting in all languages it really shouts to me when there's no color

I wonder if we should have an optional colour option to `pkl eval` that could use ANSI colours to make the output look nicer?

Contributor guide

Open the contributing guide

Research direction

Start at the `pkl eval` command-line entry point and inspect how its output is currently formatted. Determine the scope of an optional ANSI color mode and how syntax highlighting should appear, then verify the resulting CLI output with representative evaluations.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.