Skip to content

Ensure CLI output reflects active executable (skale/mirage)#862

Closed
Masterix0 wants to merge 2 commits into
miragefrom
mirage-update-texts
Closed

Ensure CLI output reflects active executable (skale/mirage)#862
Masterix0 wants to merge 2 commits into
miragefrom
mirage-update-texts

Conversation

@Masterix0

Copy link
Copy Markdown
Contributor

Problem

User-facing messages in node-cli previously hardcoded "skale" as the executable, leading to incorrect command suggestions for mirage binary users.

Solution

Updated CLI output logic to dynamically display the correct executable name (skale or mirage) based on the current NodeType. This involves:

  • Contextual text selection in core CLI modules.
  • Minor additions to text.yml for Mirage-specific message variants.

This change improves user experience by providing accurate command examples tailored to the active binary.

Masterix0 added 2 commits May 13, 2025 19:23
…ddition. Also fixed some failing tests related to previous changes.
@Masterix0 Masterix0 self-assigned this May 13, 2025
@Masterix0 Masterix0 changed the title Ensure CLI output reflects active executable (skale/mirage)` Ensure CLI output reflects active executable (skale/mirage) May 14, 2025
@dmytrotkk dmytrotkk closed this Jun 24, 2025
@dmytrotkk dmytrotkk deleted the mirage-update-texts branch June 24, 2025 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants