A CLI tool for generating TypeScript declarations from CSS Modules.
npm install @devgfnl/typed-css-modules``bash`
npm install --save-dev @devgfnl/typed-css-modules
`bash
npx generate-type-cssmodule
npx gtcm
`
| Option | Description | Example | Default |
| --------------------- | ------------------------------------------ | --------------------------------------------------- | ------------------------------------------------- |
| -w, --watch | Watch for changes in the specified paths | N/A | N/A |-p, --paths
| | Comma-separated list of paths to watch | -p "src//.module.css,packages//.module.css" | "src//.module.css" and "lib//.module.css" |-r, --root
| | Set the root directory for resolving paths | -r "/path/to/root" | Current working directory |-h, --help` | Display this help message | N/A | N/A |
|