updated the verbose handling for new version
This commit is contained in:
parent
2a034e9c0e
commit
eec232ae53
|
@ -69,10 +69,9 @@ def main():
|
||||||
create_tree_structurer()
|
create_tree_structurer()
|
||||||
|
|
||||||
if args.command == 'display':
|
if args.command == 'display':
|
||||||
if args.verbose:
|
|
||||||
print(f"Analyzing directory: {args.path}")
|
|
||||||
try:
|
try:
|
||||||
structure = get_structure(args.path)
|
structure = get_structure(args.path)
|
||||||
|
print(f"Analyzing directory: {args.path}")
|
||||||
for line in structure:
|
for line in structure:
|
||||||
print(line)
|
print(line)
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
|
|
Loading…
Reference in New Issue