app like that
AsciiFolders
AsciiFolders

Tool that generates ASCII directory trees from any folder on your machine using a terminal command.

Features

ASCII Directory Trees

Generate visual directory trees in ASCII format from any folder on your machine using a terminal command.

Command Line Interface (CLI) Usage

Execute the 'npx asciifolders' command in the terminal to create ASCII representations of your directory structures.

-a, --all

Generate tree for all files and directories, including hidden ones. Default is false.

-d, --depth <depth>

Set the depth of directories to be generated. Default is 5.

-c, --copy

Automatically copy the generated tree to the clipboard. Default is false.

-s, --style <style>

Choose the style of the generated tree ('arrows' or 'pipes'). Default is 'arrows'.

-df, --dirs-first

List directories before files in the generated tree. Default is false.

-h, --help

Display help for the command.