code: def cli(inargs=None):
      
  
      parser = argparse.ArgumentParser()
  
      parser.add_argument(
          '--version', '-V',
          action='version',
          version='%%(prog)s %s' % __version__
      )
  
      parser.add_argument(
          'filename',
          metavar="filename",
          help="Input STEM file"
      )
  
      parser.add_argument(
          '--id',
          metavar='id',
          type=int,
          nargs='+',
          help="A list of stem_ids"
      )
  
      parser.add_argument(
          '-s',
          type=float,
          nargs='?',
          help="start offset in seconds"
      )
  
      parser.add_argument(
          '-t',
          type=float,
          nargs='?',
          help="read duration"
      )
  
      parser.add_argument(
          'outdir',
          metavar='outdir',
          nargs='?',
          help="Output folder"
      )
  
      args = parser.parse_args(inargs)
      stem2wav(args.filename, args.outdir, args.id, args.s, args.t)
docs: Commandline interface for receiving stem files