Get your beautiful working tree as yaml
format
pip install working-tree
- For current directory
# some_dir/create_tree.py
from working_tree.tree import make_tree
make_tree()
Then check the some_dir/working_tree.yaml
file
- For specific directory
# some_dir/create_tree.py
from working_tree.tree import make_tree
make_tree(start_directory="some_subdir/")
Then check the some_dir/working_tree.yaml
file
- With custom output file name
# some_dir/create_tree.py
from working_tree.tree import make_tree
make_tree(output_file="custom_file_name.yaml")
Then check the custom_file_name.yaml
file
To see the sample go to the working_tree/working_tree.yaml
file