Skip to content

cleanup: remove emojis from CLI output β€” use plain text indicatorsΒ #511

Closed

Description

@pszymkowiak

Problem

RTK output is littered with emojis (πŸ“Œ, ❓, πŸ“Š, ⚠️, πŸ”, ⏭️, etc.) β€” 108 occurrences across 24 source files. This causes several issues:

  1. Terminal compatibility: Some terminals, SSH sessions, and CI logs render emojis as ? or garbled characters
  2. Professionalism: CLI tools targeting developers should use plain text indicators, not emojis
  3. Pipe/grep friendliness: Emojis are multi-byte UTF-8, making grep and text processing harder
  4. Inconsistency: Some modules use emojis, others don't β€” no unified style

Scope

108 emoji occurrences across 24 files:
- git.rs (14), init.rs (27), gh_cmd.rs (12), summary.rs (9)
- ls.rs, display_helpers.rs, runner.rs, log_cmd.rs, gt_cmd.rs...

Proposed replacements

Emoji Replace with
πŸ“Œ (branch indicator, or just the branch name)
❓ ? or Untracked:
πŸ“Š (remove, or Summary:)
⚠️ warning:
πŸ” (remove)
⏭️ skipped:
βœ“ ok or pass
❌ FAIL
βœ… ok

Exception

ok βœ“ is borderline acceptable as a compact success indicator (single character, widely supported). Can be kept or replaced with ok.

Files to update

src/git.rs, src/init.rs, src/gh_cmd.rs, src/summary.rs, src/ls.rs, src/display_helpers.rs, src/runner.rs, src/log_cmd.rs, src/gt_cmd.rs, src/diff_cmd.rs, src/container.rs, src/env_cmd.rs, src/grep_cmd.rs, src/gain.rs, src/next_cmd.rs, src/pip_cmd.rs, src/pytest_cmd.rs, src/ruff_cmd.rs, src/prisma_cmd.rs, src/format_cmd.rs, src/lint_cmd.rs, src/go_cmd.rs, src/ccusage.rs, src/cc_economics.rs

Snapshot tests will need updating after this change.

Activity

  1. added
    enhancement
    on Mar 11, 2026
  2. pszymkowiak commented on Mar 13, 2026

    @pszymkowiak
    CollaboratorAuthor

    Updated approach β€” keep functional symbols, remove decorative emojis

    After analysis, symbols that save tokens should stay:

    Symbol Tokens Alternative Tokens Decision
    ⚠️ 1 warning: 2 KEEP β€” saves 1 token, universally understood
    βœ“ 1 ok 1 KEEP β€” same cost, more compact
    ❌ 1 FAIL 1 KEEP β€” same cost, visually distinct

    REMOVE β€” decorative emojis that add tokens without value:

    Emoji Replace with
    πŸ“Œ (nothing, or branch name directly)
    ❓ ?
    πŸ“Š Summary: or remove
    πŸ” remove
    ⏭️ skip
    πŸ“‹ remove
    πŸƒ remove
    πŸ› remove
    🟒 πŸ”΄ remove or use [open] [closed]

    Rule: if the emoji is semantic (warning, pass, fail) β†’ keep. If decorative (magnifying glass, clipboard, runner) β†’ remove.

  3. added
    effort-large
    on Mar 20, 2026
  4. pszymkowiak commented on Mar 20, 2026

    @pszymkowiak
    CollaboratorAuthor

    wshm Β· Automated triage by AI

    πŸ” Automated Triage

    ✨ Category feature
    🟒 Priority low
    🎯 Confidence 88%

    Summary

    Request to replace emoji indicators with plain text equivalents across 24 CLI source files for terminal compatibility and consistency; well-scoped cleanup task.

    πŸ“ Relevant files
    • src/git.rs
    • src/init.rs
    • src/gh_cmd.rs
    • src/summary.rs
    • src/ls.rs
    • src/display_helpers.rs
    • src/runner.rs
    • src/log_cmd.rs
    • src/gt_cmd.rs
    • src/diff_cmd.rs
    • src/container.rs
    • src/env_cmd.rs
    • src/grep_cmd.rs
    • src/gain.rs
    • src/next_cmd.rs
    • src/pip_cmd.rs
    • src/pytest_cmd.rs
    • src/ruff_cmd.rs
    • src/prisma_cmd.rs
    • src/format_cmd.rs
    • src/lint_cmd.rs
    • src/go_cmd.rs
    • src/ccusage.rs
    • src/cc_economics.rs

    Triaged automatically by wshm Β· This is an automated analysis, not a human review.

  5. KuSh commented on Sep 5, 2026

    @KuSh
    Collaborator

    Fixed by #558: decorative emojis were removed from CLI output across all modules, keeping only the functional symbols agreed in this thread. On current develop the remaining emoji occurrences in src/ are confined to test input literals in the parser and utils tests. Please reopen or comment if you spot decorative emojis in output on the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:clieffort-largeenhancementgood first issuehelp wantedpriority:low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions