Skip to content

Commit 3d5b9e0

Browse files
committed
update README
1 parent 7a500fb commit 3d5b9e0

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,16 @@ The tool will output a tree-like structure of your project, including files, dir
4343

4444
```
4545
ts-print-tree/
46-
├── src/
47-
│ ├── index.ts
48-
│ │ └── function main(): void
49-
│ └── utils/
50-
│ └── helper.ts
51-
│ └── function formatDate(date: Date): string
46+
└── src/
47+
├── index.ts
48+
│ ├── interface TreeNode
49+
│ └── function tree(rootDir?: string, pathFilter?: (path: string) => boolean, visibilityLevel?: VisibilityLevel): TreeNode
50+
└── utils/
51+
└── helper.ts
52+
└── function formatDate(date: Date): string
5253
```
5354

54-
More comprehensive example output can be found in the [test snapshots for this very project](https://github.com/grrowl/ts-print-tree/blob/main/src/__snapshots__/index.test.ts.snap).
55+
More comprehensive example output can be found in the [test snapshots for this very project](https://github.com/grrowl/ts-print-tree/blob/main/src/__snapshots__/cli.test.ts.snap).
5556

5657
## 🔧 Customization
5758

0 commit comments

Comments
 (0)