Skip to content

Commit 67f7bd6

Browse files
committed
Add help-all command to display extended CLI usage overview
1 parent 01ad527 commit 67f7bd6

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

src/bin/cli.rs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ enum Commands {
4848
},
4949
ConfigShow,
5050
Env,
51+
HelpAll,
5152
}
5253

5354
fn main() -> Result<()> {
@@ -191,6 +192,27 @@ fn main() -> Result<()> {
191192
std::env::consts::OS,
192193
std::env::consts::ARCH
193194
);
195+
}
196+
Commands::HelpAll => {
197+
println!("Zeta Crypto CLI — command overview:\n");
198+
println!(" gen-mnemonic → Generate new BIP39 mnemonic");
199+
println!(" derive-wallet → Derive wallet from mnemonic");
200+
println!(" sign → Sign a message");
201+
println!(" verify → Verify a signature");
202+
println!(" walletconnect → Connect or disconnect a WalletConnect peer");
203+
println!(" walletconnect-status → Check WalletConnect session status");
204+
println!(" walletconnect-info → Show peer info");
205+
println!(" walletconnect-restore → Restore last saved session");
206+
println!(" walletconnect-default → Use default peer from config");
207+
println!(" config-show → Display configuration");
208+
println!(" version-info → Show version and environment info");
209+
println!(" healthcheck → Check local setup");
210+
println!(" cleanup → Remove logs and sessions");
211+
println!(" help-all → Show this command overview\n");
212+
println!("Examples:");
213+
println!(" zeta-cli gen-mnemonic");
214+
println!(" zeta-cli derive-wallet --phrase \"<mnemonic>\"");
215+
println!(" zeta-cli walletconnect --peer <peer> --action connect");
194216
}
195217
}
196218

0 commit comments

Comments
 (0)