code: def extract_lzma(archive, compression, cmd, verbosity, interactive, outdir):
      
      cmdlist = [util.shell_quote(cmd), '--format=lzma']
      if verbosity > 1:
          cmdlist.append('-v')
      outfile = util.get_single_outfile(outdir, archive)
      cmdlist.extend(['-c', '-d', '--', util.shell_quote(archive), '>',
          util.shell_quote(outfile)])
      return (cmdlist, {'shell': True})
docs: Extract an LZMA archive.