@sikka/silk

0.4.4 • Public • Published

Silk | سلك

Silk

CLI tool for Tayar boilerplate

NPM NPM@beta Silk CI - @latest Silk CI - @beta

Getting Started

Install Silk CLI globally

npm i @sikka/silk -g

Use Silk anywhere you want

silk --help

Commands

List Models

This command will list all the models in the backend/models directory.

silk list-models

Generate Models

Must be inside backend folder

This command will parse the backend/data/models.json file and create the models accordingly.

silk generate-models

Generate Portals

Must be inside frontend folder

This command will create a new next application inside the frontend folder and update it to turn it into a portal similar to the default portal admin-portal.

silk generate-portal

Generate Pages

Must be inside frontend/[portal-name] folder

This command will generate the pages needed in the frontend/[portal-name] for the specified model

silk generate-pages <model-name>

Package Sidebar

Install

npm i @sikka/silk

Weekly Downloads

1

Version

0.4.4

License

MIT

Unpacked Size

175 kB

Total Files

44

Last publish

Collaborators

  • mansoursikka
  • zaaakher