hasura / hasura/graphql-engine

DX: highlight hints in CLI

Open
#10,406 0 comments 0 reactions 0 assignees View on GitHub
ddnbugbounty-2024 k/dx k/v3-bug
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

in the CLI output, the hints should be highlighted instead of INFO logs. after running a command, my focus goes to the INFO log lines, ignoring the hints.

![image](https://github.com/user-attachments/assets/0efd988c-bc11-4492-aa30-bc5743bae4e9)

additionally, is there a value in logging each file that was created? Can't we just have a single log line "Created required files"? We can have the verbose output behind a debug flag.

Contributor guide

Open the contributing guide

Research direction

The issue concerns the CLI output, but it does not name a file, command, or test. Start by locating the code that emits INFO logs and hints, then run the affected command to compare normal and verbose output. Done means hints are visually highlighted, creation logging is consolidated by default, and detailed file logging is available behind a debug flag.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, developer-experience
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.