Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
grrowl committed Jul 5, 2024
1 parent 7a500fb commit 3d5b9e0
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,16 @@ The tool will output a tree-like structure of your project, including files, dir

```
ts-print-tree/
├── src/
│ ├── index.ts
│ │ └── function main(): void
│ └── utils/
│ └── helper.ts
│ └── function formatDate(date: Date): string
└── src/
├── index.ts
│ ├── interface TreeNode
│ └── function tree(rootDir?: string, pathFilter?: (path: string) => boolean, visibilityLevel?: VisibilityLevel): TreeNode
└── utils/
└── helper.ts
└── function formatDate(date: Date): string
```

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).
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).

## 🔧 Customization

Expand Down

0 comments on commit 3d5b9e0

Please sign in to comment.