console-rs / console-rs/console

Is there a way to disable emojis?

Open
#122 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
1.2k
Forks
144
Avg merge
8h 24m
Merged PRs (30d)
4

Description

Forgive me if it's documented and I couldn't find it. I'm trying to write a CLI that prints emojis for some commands, but I know that there are people (me included) who probably won't want emojis, especially if we're redirecting the output to a text file or something. Is there support for a settiing that disables all emojis?

I currently have a --no-emojis flag that I use, and my commands check for that, but that isn't the most elegant of solutions since I have multiple layers of subcommands.

Perhaps one type of behaviour would be to fall back to the alternate text when the emojis are disabled?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the existing --no-emojis flag is checked across the commands and multiple layers of subcommands. Clarify whether the setting should disable all emojis, how it should propagate, and whether alternate text is required; the work is complete when that behavior is defined and consistently supported.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.