Repository: OpenBB-finance/OpenBBTerminal
File: openbb_terminal/cryptocurrency/onchain/onchain_controller.py (Python)

Code before:
            "-a",
            "--address",
            dest="address",
            action="store_true",
            help="Flag to show addresses of transaction",
            default=False,
        )
        ns_parser = self.parse_known_args_and_warn(
            parser, other_args, EXPORT_ONLY_RAW_DATA_ALLOWED
        )
        if ns_parser:
            whale_alert_view.display_whales_transactions(
                min_value=ns_parser.min,
                limit=ns_parser.limit,
                sortby=ns_parser.sortby,
                ascend=ns_parser.reverse,
                show_address=ns_parser.address,
                export=ns_parser.export,
                sheet_name=" ".join(ns_parser.sheet_name)
                if ns_parser.sheet_name
                else None,
            )

    @log_start_end(log=logger)
    def call_topledger(self, other_args: List[str]):
        """Process topledger command"""
        parser = argparse.ArgumentParser(
            add_help=False,
            formatter_class=argparse.ArgumentDefaultsHelpFormatter,
            prog="topledger",
            description="""
                    Display on-chain data from topledger.
                    [Source: https://docs.topledger.xyz/]
                """,
        )

        parser.add_argument(
            "-o",
            "--org",
            dest="org_slug",
            type=str,
            help="Organization Slug [tensor]",
            default=None,
        )
        parser.add_argument(
            "-q",
            "--query",
            dest="query_slug",
            type=str,
            help="Query Slug [daily-transactions/weekly-transactions/monthly-transactions"
            "/daily-users/monthly-users/weekly-users/daily-gmv-sol/weekly-gmv/"

Review comment (suggestion):
we can discuss more about this but i think would be cool to have the the command called something like tlquery or something like that because we have a special place to add the Source (which would clearly say TopLedger)

Code after:
        parser.add_argument(
            "-a",
            "--address",
            dest="address",
            action="store_true",
            help="Flag to show addresses of transaction",
            default=False,
        )
        ns_parser = self.parse_known_args_and_warn(
            parser, other_args, EXPORT_ONLY_RAW_DATA_ALLOWED
        )
        if ns_parser:
            whale_alert_view.display_whales_transactions(
                min_value=ns_parser.min,
                limit=ns_parser.limit,
                sortby=ns_parser.sortby,
                ascend=ns_parser.reverse,
                show_address=ns_parser.address,
                export=ns_parser.export,
                sheet_name=" ".join(ns_parser.sheet_name)
                if ns_parser.sheet_name
                else None,
            )

    @log_start_end(log=logger)
    def call_topledger(self, other_args: List[str]):
        """Process topledger command"""
        parser = argparse.ArgumentParser(
            add_help=False,
            formatter_class=argparse.ArgumentDefaultsHelpFormatter,
            prog="topledger",
            description="""
                    Display on-chain data from topledger.
                    [Source: Topledger]
                """,
        )

        parser.add_argument(
            "-o",
            "--org",
            dest="org_slug",
            type=str,
            help="Organization Slug",
            choices=list(topledger_model.MAPPING.keys()),
            default=None,
        )
        parser.add_argument(
            "-q",
            "--query",
            dest="query_slug",
            type=str,