src/dirbs/cli/report.py
def _parse_force_refresh(f: callable) -> callable:
    """
    Function to parse force refresh option on the command line.

    Arguments:
        f: callable function
    Returns:
        click argument
    """
    return click.option('--force-refresh/--no-refresh',
                        default=True,
                        is_flag=True,
                        help='Whether data in report should be refreshed from latest data or '
                             'from previously-calculated data (default: --no-refresh).')(f)

    Function to parse force refresh option on the command line.

    Arguments:
        f: callable function
    Returns:
        click argument
    
Function to parse force refresh option on the command line.
Function to parse force refresh option on the command line .
def _parse_force_refresh(f: callable) -> callable:
    return click.option('--force-refresh/--no-refresh',
                        default=True,
                        is_flag=True,
                        help='Whether data in report should be refreshed from latest data or '
                             'from previously-calculated data (default: --no-refresh).')(f)
def _parse_force_refresh ( f : callable ) -> callable : return click . option ( '--force-refresh/--no-refresh' , default = True , is_flag = True , help = 'Whether data in report should be refreshed from latest data or ' 'from previously-calculated data (default: --no-refresh).' ) ( f )
Function to parse force refresh option on the command line.
Function to parse force refresh option on the command line .
"""
    Function to parse force refresh option on the command line.

    Arguments:
        f: callable function
    Returns:
        click argument
    """
None
f
callable
None