@classmethod
def add_parser(cls, subparser):
    """Create parser for command line."""
    parser = super().add_parser(subparser)
    parser.add_argument('-i', '--input', help=
        'File to upload (defaults to stdin)')
    parser.add_argument('--overwrite', action='store_true', help=
        'Overwrite existing translations (defaults to none)')
    parser.add_argument('--author-name', help=
        'Author name, to override currently authenticated user')
    parser.add_argument('--author-email', help=
        'Author email, to override currently authenticated user')
    parser.add_argument('--method', choices=('translate', 'approve',
        'suggest', 'fuzzy', 'replace'), default='translate')
    parser.add_argument('--fuzzy', choices=('', 'process', 'approve'),
        default='')
    return parser
