Source code for solidipes.scripts.make_tree

#!/usr/bin/env python3
from solidipes.utils.utils import make_tree

command = "make-tree"
command_help = "Scan files and generate a tree ready to document"


[docs] def main(args) -> None: print(make_tree(only_dirs=args.only_dirs))
[docs] def populate_parser(parser) -> None: parser.description = command_help parser.add_argument("--only-dirs", action="store_true")
if __name__ == "__main__": main()