def METHOD_NAME(print_args: bool = True):
    from jina.helper import get_rich_console
    from jina.parsers import get_main_parser
    console = get_rich_console()
    silent_print = {'help', 'hub', 'export', 'auth', 'cloud', 'ping'}
    parser = get_main_parser()
    if len(sys.argv) > 1:
        from argparse import _StoreAction, _StoreTrueAction
        from rich import box
        from rich.table import Table
        args, unknown = parser.parse_known_args()
        if unknown:
            from jina.helper import warn_unknown_args
            unknown = list(filter(lambda x: x.startswith('--'), unknown))
            warn_unknown_args(unknown)
        if args.cli not in silent_print and print_args:
            from jina.constants import __resources_path__
            p = parser._actions[-1].choices[sys.argv[1]]
            default_args = {
                a.dest: a.default
                for a in p._actions
                if isinstance(a, (_StoreAction, _StoreTrueAction))
            }
            with open(os.path.join(__resources_path__, 'jina.logo'), encoding='utf-8') as fp:
                logo_str = fp.read()
            param_str = Table(
                title=' '.join(sys.argv),
                box=box.ROUNDED,
                highlight=True,
                title_justify='left',
            )
            param_str.add_column('Argument', justify='right')
            param_str.add_column('Value', justify='left')
            for k, v in sorted(vars(args).items()):
                param = k.replace('_', '-')
                value = str(v)
                if not default_args.get(k, None) == v:
                    value = f'[b]{value}[/]'
                param_str.add_row(param, value)
            if 'JINA_LOG_NO_COLOR' not in os.environ:
                print(f'\n{logo_str}\n')
            console.print(param_str)
        return args
    else:
        parser.print_help()
        exit()