ntree colors
This commit is contained in:
4
ntree.py
4
ntree.py
@ -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)
|
||||
|
Reference in New Issue
Block a user