# Path: hac/commands.py
# def _command_prep(**args):
# def _command_show(**args):


import os
import argparse
from hac.commands import app_commands
            "nargs": "*",
            "help":
"""Optional identifiers for additional problems from
contest specified by previous argument. Identifiers
can be either:
  - problem's ID
  - problem's index (counting from 1)
""",
            "metavar": "PROBLEM"
        }
    },
]


def get_pargs_pack_cli():
    """Returns CLI parse arguments.
    """
    return _pargs_pack_cli


# Parser notes.
_parser_cli_description = \
"""To execute special command that doesn't fetch remote data run: 

    hac (--help | --version | --copy-config)

To execute command that fetches remote data and processes it run:

    hac [options...] ({0}) (CONTEST | PROBLEM) [PROBLEM [PROBLEM ...]]


# Path: hac/commands.py
# def _command_prep(**args):
# def _command_show(**args):


# Path: hac/parse_cli.py
import os
import argparse
from hac.commands import app_commands

            "nargs": "*",
            "help":
"""Optional identifiers for additional problems from
contest specified by previous argument. Identifiers
can be either:
  - problem's ID
  - problem's index (counting from 1)
""",
            "metavar": "PROBLEM"
        }
    },
]


def get_pargs_pack_cli():
    """Returns CLI parse arguments.
    """
    return _pargs_pack_cli


# Parser notes.
_parser_cli_description = \
"""To execute special command that doesn't fetch remote data run: 

    hac (--help | --version | --copy-config)

To execute command that fetches remote data and processes it run:

    hac [options...] ({0}) (CONTEST | PROBLEM) [PROBLEM [PROBLEM ...]]


""".format(" | ".join(sorted(app_commands.keys())))