text: import click
  from loguru import logger
  from vivarium.framework.utilities import handle_exceptions
  
  from vivarium_conic_vitamin_a_supp_gbd2019 import paths
  from vivarium_conic_vitamin_a_supp_gbd2019.constants import metadata
  from vivarium_conic_vitamin_a_supp_gbd2019.tools import build_artifacts, build_results, configure_logging_to_terminal
  
  
  @click.command()
  @click.option('-l', '--location',
                default='all',
                show_default=True,
                type=click.Choice(metadata.LOCATIONS + ['all']),
                help=('Location for which to make an artifact. Note: prefer building archives on the cluster.\n'
                      'If you specify location "all" you must be on a cluster node.'))
  @click.option('-o', '--output-dir',
                default=str(paths.ARTIFACT_ROOT),
                show_default=True,
                type=click.Path(),
                help='Specify an output directory. Directory must exist.')
  @click.option('-a', '--append',
                is_flag=True,
                help='Append to the artifact instead of overwriting.')
  @click.option('-v', 'verbose',
                count=True,
                help='Configure logging verbosity.')
  @click.option('--pdb', 'with_debugger',
                is_flag=True,
                help='Drop into python debugger if an error occurs.')
  def make_artifacts(location: str, output_dir: str, append: bool, verbose: int, with_debugger: bool) -> None:
      configure_logging_to_terminal(verbose)
      main = handle_exceptions(build_artifacts, logger, with_debugger=with_debugger)
      main(location, output_dir, append, verbose)
  
  
  @click.command()
  @click.argument('output_file', type=click.Path(exists=True))
  @click.option('-v', 'verbose',
                count=True,
                help='Configure logging verbosity.')
  @click.option('--pdb', 'with_debugger',
                is_flag=True,
                help='Drop into python debugger if an error occurs.')
  @click.option('-s', '--single', 'single_run',
                default=False,
                is_flag=True,
                help='Results are from a single, non-parallel run.')
  def make_results(output_file: str, verbose: int, with_debugger: bool, single_run: bool) -> None:
      configure_logging_to_terminal(verbose)
      main = handle_exceptions(build_results, logger, with_debugger=with_debugger)
      main(output_file, single_run)
  