<filename>main.py<gh_stars>10-100
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import argparse

from gender_bender import gender_bend_epub


if __name__ == '__main__':
    parser = argparse.ArgumentParser()
    parser.add_argument('-i', '--input', type=str, required=True,
                        help='Path of epub to gender bend')
    parser.add_argument('-o', '--output', type=str, required=False,
                        help='Path of epub to gender bend')
    parser.add_argument('-n', '--interactive-naming', action='store_true',
                        help='Get prompted for each name (recommended for '
                             'accurately translating ebooks)')

    args = parser.parse_args()

    gender_bend_epub(args.input, args.output, args.interactive_naming)

<filename>main.py<gh_stars>10-100
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import argparse

from gender_bender import gender_bend_epub


if __name__ == '__main__':
    parser = argparse.ArgumentParser()
    parser.add_argument('-i', '--input', type=str, required=True,
                        help='Path of epub to gender bend')
    parser.add_argument('-o', '--output', type=str, required=False,
                        help='Path of epub to gender bend')
    parser.add_argument('-n', '--interactive-naming', action='store_true',
                        help='Get prompted for each name (recommended for '
                             'accurately translating ebooks)')

    args = parser.parse_args()

    gender_bend_epub(args.input, args.output, args.interactive_naming)

#!/usr/bin/env python3 # -*- coding: utf-8 -*-