This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bun | |
| import path from "node:path"; | |
| import { parseArgs } from "node:util"; | |
| import { parse } from "@babel/parser"; | |
| import traverseModule from "@babel/traverse"; | |
| const traverse = traverseModule; | |
| // --- CLI CONFIGURATION --- | |
| const HELP_TEXT = `Usage: bun generate-component-hierarchy.ts [options] |