nextjs-pathnames-codegen
v1.0.4
Published
Generate file of constants with Pathname based on the structure of files in Pages or APP router.
Readme
Next Pathnames Generate CLI
Generate file of constants with Pathname based on the structure of files in Pages or APP router.
Installation
npm install -g @dmkhanin/next-pathnames-codegenUsage
To start using Next Pathname Codegen CLI, run:
next-pathnames-codegen - helpCommands
next-pathnames-codegen generate -s ./src/pages -t './shared/constants: Generate a constant file
For more detailed information on commands, run next-pathnames-codegen --help.
Contributing
Contributions are welcome ...
License
MIT
