wallet_helper.cli_argparse module

wallet-helper argparse command line (no extra dependency).

Inspect and manage the local ledger: where it lives, how many results are cached and how many repeat calls they saved, and clearing it. The calls themselves are memoized from your own code through wallet_helper.guard.Wallet; this tool just reads and prunes the store.

Usage

python -m wallet_helper.cli_argparse stats python -m wallet_helper.cli_argparse path python -m wallet_helper.cli_argparse clear python -m wallet_helper.cli_argparse --sqlite ~/.cache/wallet-helper/ledger.db stats

Author

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

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

Entry point for the argparse CLI.

Parameters:

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

Returns:

Process exit code (0 on success).

Return type:

int