DzmitrySha/python-project-lvl2

View on GitHub
gendiff/scripts/gendiff.py

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
#!/usr/bin/env python
"""Difference Generator."""

from gendiff import generate_diff
from gendiff.cli import parsing_args


def main():
    """Get start here."""
    first_file, second_file, output_format = parsing_args()
    print(generate_diff(first_file, second_file, output_format))


if __name__ == '__main__':
    main()