Skip to content

Commit bd73324

Browse files
committed
[__main__] initial implementation of command line logic
1 parent f686bd0 commit bd73324

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lib/fdiff/__main__.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,13 @@ def run(argv):
2121
parser.add_argument(
2222
"--version", action="version", version="fdiff v{}".format(__version__)
2323
)
24+
parser.add_argument('-c', action='store_true', default=False,
25+
help='ANSI escape code colored diff')
26+
parser.add_argument('-l', '--lines', type=int, default=3,
27+
help='Number of context lines (default 3)')
28+
parser.add_argument('PREFILE',
29+
help='Font file path 1')
30+
parser.add_argument('POSTFILE',
31+
help='Font file path 2')
32+
2433
args = parser.parse_args(argv)

0 commit comments

Comments
 (0)