Skip to content

fix -s flag so it works along with user input and outputs [INFO] #1

Description

@gyrusdentatus

it should:

  • read user input when asked about installing rust or nym-client is present
  • it should output [INFO] messages to stdout
  • it should silence all other stuff other than the [INFO]

for example:

[INFO] Build successful
[INFO] Installed nym-client to /Users/hans/.local/bin/nym-client
[INFO] Installation successful: nym-client
[INFO] To initialize a client: /Users/hans/.local/bin/nym-client init --id YOUR_CLIENT_ID
[INFO] To run a client: /Users/hans/.local/bin/nym-client run --id YOUR_CLIENT_ID

or another example:

[INFO] nym-client is already installed at /Users/hans/.local/bin/nym-client
nym-client is already installed. Install anyway? [y/n] (n): y
[INFO] Starting nym-client installation
[INFO] Detected system: macos (aarch64)
[DEBUG] uname -a: Darwin ventura.local 24.3.0 Darwin Kernel Version 24.3.0: Tue Dec 17 23:21:35 PST 2024; root:xnu-11215.80.28.501.2~1/RELEASE_ARM64_T6030 arm64
[INFO] Using version: v2025.4-dorina-patched
[INFO] Architecture aarch64 requires building from source
[INFO] Building nym-client from source for aarch64 architecture
[INFO] Rust found: rustc 1.85.0 (4d91de4e4 2025-02-17) (Homebrew)
Do you want to update Rust toolchain? [y/n] (y): y
[INFO] Updating Rust toolchain…

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Fields

No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions