text: from argparse import ArgumentParser, Namespace
  from pathlib import Path
  from typing import List, Optional
  
  
  def _parse_command_line_args(args: Optional[List[str]]) -> Namespace:
      parser = ArgumentParser()
      parser.add_argument(
          "--output", "-o", help="Output directory", default=None, type=Path
      )
      parser.add_argument("--query", "-q", default=None, type=str)
      return parser.parse_args(args)
  
  
  def main(args: Optional[List[str]] = None):
      args = _parse_command_line_args(args)
      output = args.output if args.output else Path.cwd()
      _make_plots(output=output)
  
  
  def _make_plots(output: Path):
      pass
  
  
  if __name__ == "__main__":
      main()
  