wallet_helper.cli_click module

wallet-helper click command line (optional [cli] extra).

A second command-line variant, same features as wallet_helper.cli_argparse but built on click, for those who prefer its grouped subcommands and coloured help. It reads and prunes the local ledger; the calls themselves are memoized from your own code through wallet_helper.guard.Wallet.

Because click is an optional dependency, importing this module without it installed raises a clear, actionable error instead of a bare import failure.

Usage

wallet-helper-click stats python -m wallet_helper.cli_click path wallet-helper-click clear --yes

Author

Warith HARCHAOUI, https://linkedin.com/in/warith-harchaoui

wallet_helper.cli_click.main(argv=None)[source]

Entry point for the wallet-helper-click console script.

Parameters:

argv (list of str, optional) – Argument vector for testing; defaults to sys.argv when None.

Returns:

Process exit code (0 on success).

Return type:

int