wallet_helper.cli module

The wallet-helper command line, built with click.

It reads and prunes the local ledger. The calls themselves are memoized from your own code through wallet_helper.guard.Wallet — this module never runs anything expensive, it only reports and deletes.

It used to be the optional twin of an argparse CLI, reachable under a -click suffix that named the parsing library rather than the interface. Both are gone, and click is a core dependency now, so there is no import guard left to trip over.

Usage

wallet-helper stats python -m wallet_helper.cli path wallet-helper clear --yes

Author

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

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

Entry point for the wallet-helper 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