@clizefy()
def main(prog_name: parameters.pass_name, command: LAST_OPTION, *args, profile: value_converter((lambda _: _), name='FILENAME')=None, memprofile: value_converter((lambda _: _), name='FILENAME')=None, verbose=False, dry_run=False):
    'IMPROVER NWP post-processing toolbox\n\n    Results from commands can be passed into file-like arguments\n    of other commands by surrounding them by square brackets::\n\n        improver command [ command ... ] ...\n\n    Spaces around brackets are mandatory.\n\n    Args:\n        prog_name:\n            The program name from argv[0].\n        command (str):\n            Command to execute\n        args (tuple):\n            Command arguments\n        profile (str):\n            If given, will write profiling to the file given.\n            To write to stdout, use a hyphen (-)\n        memprofile (str):\n            Creates 2 files by adding a suffix to the provided arguemnt -\n            a tracemalloc snapshot at the point of highest memory consumption\n            of your program (suffixed with _SNAPSHOT)\n            and a track of the maximum memory used by your program\n            over time (suffixed with _MAX_TRACKER).\n        verbose (bool):\n            Print executed commands\n        dry_run (bool):\n            Print commands to be executed\n\n    See improver help [--usage] [command] for more information\n    on available command(s).\n    '
    args = unbracket(args)
    exec_cmd = execute_command
    if (profile is not None):
        from improver.profile import profile_hook_enable
        profile_hook_enable(dump_filename=(None if (profile == '-') else profile))
    if (memprofile is not None):
        from improver.memprofile import memory_profile_decorator
        exec_cmd = memory_profile_decorator(exec_cmd, memprofile)
    result = exec_cmd(SUBCOMMANDS_DISPATCHER, prog_name, command, *args, verbose=verbose, dry_run=dry_run)
    return result
IMPROVER NWP post-processing toolbox

Results from commands can be passed into file-like arguments
of other commands by surrounding them by square brackets::

    improver command [ command ... ] ...

Spaces around brackets are mandatory.

Args:
    prog_name:
        The program name from argv[0].
    command (str):
        Command to execute
    args (tuple):
        Command arguments
    profile (str):
        If given, will write profiling to the file given.
        To write to stdout, use a hyphen (-)
    memprofile (str):
        Creates 2 files by adding a suffix to the provided arguemnt -
        a tracemalloc snapshot at the point of highest memory consumption
        of your program (suffixed with _SNAPSHOT)
        and a track of the maximum memory used by your program
        over time (suffixed with _MAX_TRACKER).
    verbose (bool):
        Print executed commands
    dry_run (bool):
        Print commands to be executed

See improver help [--usage] [command] for more information
on available command(s).
@clizefy()
def main(prog_name: parameters.pass_name, command: LAST_OPTION, *args, profile: value_converter((lambda _: _), name='FILENAME')=None, memprofile: value_converter((lambda _: _), name='FILENAME')=None, verbose=False, dry_run=False):
    'IMPROVER NWP post-processing toolbox\n\n    Results from commands can be passed into file-like arguments\n    of other commands by surrounding them by square brackets::\n\n        improver command [ command ... ] ...\n\n    Spaces around brackets are mandatory.\n\n    Args:\n        prog_name:\n            The program name from argv[0].\n        command (str):\n            Command to execute\n        args (tuple):\n            Command arguments\n        profile (str):\n            If given, will write profiling to the file given.\n            To write to stdout, use a hyphen (-)\n        memprofile (str):\n            Creates 2 files by adding a suffix to the provided arguemnt -\n            a tracemalloc snapshot at the point of highest memory consumption\n            of your program (suffixed with _SNAPSHOT)\n            and a track of the maximum memory used by your program\n            over time (suffixed with _MAX_TRACKER).\n        verbose (bool):\n            Print executed commands\n        dry_run (bool):\n            Print commands to be executed\n\n    See improver help [--usage] [command] for more information\n    on available command(s).\n    '
    args = unbracket(args)
    exec_cmd = execute_command
    if (profile is not None):
        from improver.profile import profile_hook_enable
        profile_hook_enable(dump_filename=(None if (profile == '-') else profile))
    if (memprofile is not None):
        from improver.memprofile import memory_profile_decorator
        exec_cmd = memory_profile_decorator(exec_cmd, memprofile)
    result = exec_cmd(SUBCOMMANDS_DISPATCHER, prog_name, command, *args, verbose=verbose, dry_run=dry_run)
    return result