File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ enum Commands {
4848 } ,
4949 ConfigShow ,
5050 Env ,
51+ HelpAll ,
5152}
5253
5354fn 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
You can’t perform that action at this time.
0 commit comments