Skip to content

[Medium] CLI profile/wallet/console commands are no-ops (Feature coming soon) #6

Description

@Kingvic300

Severity: Medium — Advertised CLI commands profile, wallet, console are no-ops

The CLI defines Profile, Wallet, and Console subcommands (with their own sub-actions) in parser.rs:67-85 and parser.rs:179-191, so they appear in txio --help. But the handler has no arms for them — they all fall into the catch-all:

// cli/src/cli/handlers.rs:145-147
_ => {
    println!("{}", "Feature coming soon!".yellow());
}

(handlers.rs:145-147).

Impact

  • txio profile list, txio wallet new, txio console, etc. parse successfully and print "Feature coming soon!" — users assume the feature is broken rather than unimplemented.

Fix

  • Either implement the commands or hide them (remove from the enum / gate behind a feature flag) until they work, so --help reflects reality.

Migrated from Kingvic300/txio#43

Activity

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions