#!/usr/bin/env python3
"""WizardKit: ddrescue TUI"""
# vim: sts=2 sw=2 ts=2

from docopt import docopt

import wk


if __name__ == '__main__':
  try:
    docopt(wk.clone.ddrescue.DOCSTRING)
  except SystemExit:
    print('')
    wk.ui.cli.pause('Press Enter to exit...')
    raise

  try:
    wk.clone.ddrescue.main()
  except SystemExit:
    raise
  except: # noqa: E722
    wk.ui.cli.major_exception()
