ntree colors

This commit is contained in:
Amber
2024-03-28 16:11:35 +01:00
parent 0f9789ed09
commit ceedc74ce9
4 changed files with 52 additions and 17 deletions

View File

@ -9,11 +9,13 @@ if __name__ == '__main__':
# print(cmd_args.exclude)
path = cmd_args.path
list_dir_first = cmd_args.list_directories_first
colorize = cmd_args.colorize
# opts for generatign the tree
opts = {
'items_to_exclude' : cmd_args.exclude or [],
'list_dir_first' : list_dir_first
'list_dir_first' : list_dir_first,
'colorize' : colorize,
}
ntree = NerdTree(path, opts=opts)