Skip to content

Commit 8ac76d2

Browse files
committed
add: second step, added --format
1 parent 2bf8e24 commit 8ac76d2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

gendiff/cli.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ def parse_args():
88
epilog='Hi, Lyova Parsyan!)'
99
)
1010

11+
parser.add_argument('-f', '--format', help='set format of output')
1112
parser.add_argument('first_file')
1213
parser.add_argument('second_file')
1314

14-
parser.parse_args()
15+
return parser.parse_args()
16+

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ build-backend = "hatchling.build"
2626

2727
[tool.hatch.build.targets.wheel]
2828
packages = ["gendiff"]
29+

0 commit comments

Comments
 (0)