globflow is a tool for scanning files in a directory with glob patterns and processing the results.
You can install globflow using bun or npm.
bun install globflownpm install globflowglobflow provides a command-line interface (CLI) to scan files using glob patterns.
To scan files using a glob pattern:
$ npx globflow "./*.json"
./tsconfig.json
./package.jsonYou can also use globflow directly with bun:
$ bunx globflow "./*.ts"
./cli.ts
./index.ts-
--md: Read contents and combine into code-prompt style markdown. -
-m, --message: Suffix message of output markdown. You can put a prompt message here for LLM.
Scan all .ts files:
bun cli.ts "./*.ts"Scan all .json files:
bunx globflow "./*.json"To build the project, run:
bun run buildTo run tests, execute:
bun run testThis project is licensed under the MIT License. See the LICENSE file for more details.
If you find any issues or have suggestions, feel free to open an issue or create a pull request on the GitHub repository.