CLI for Next-Admin, an admin dashboard for Next.js applications.
npm install @premieroctet/next-admin-cliThis CLI allows you to generate the required files to use Next-Admin in your project.
If the CLI is installed globally or locally :
``bash`
npx next-admin-cli --help
If the CLI is not installed :
`bash`
npx @premieroctet/next-admin-cli --help
This command generates the required files to use Next-Admin in your project. It accepts the following options:
- --cwd : The Next.js project directory. Default: current directory-s, --schema
- : The directory path where the Prisma schema is located, relative to the current directory, or cwd if provided-r, --baseRoutePath
- : The base route path to access your admin in the browser (e.g: /admin). Default: /admin-a, --baseApiPath
-