@gadmin2/cli

0.0.56 • Public • Published

Description

The gadmin2 CLI is a command-line interface tool that helps you to initialize, develop, and maintain your gadmin applications. It assists in multiple ways, including scaffolding the project, serving it in development mode, and building and bundling the application for production distribution. It embodies best-practice architectural patterns to encourage well-structured apps.

The CLI works with schematics, and provides built in support from the schematics collection at @gadmin2/schematics.

Installation

$ yarn global add @gadmin2/cli@latest

Check CLI version

$ gadmin2 -v

Usage

CLI cmd list

$ gadmin2 --help

Create a Gadmin project

$ gadmin2 n [app-name]

Define data model

$ cd app-name
$ vi config/schema.prisma

Generate code after edit config/schema.prisma

$ gadmin2 g primsa

Start web DevServer

$ cd web
$ yarn dev

Start server(nestjs) DevServer

$ cd server
$ yarn start:dev

About nestjs server read more

If using Golang server,read more

License

Gadmin is MIT licensed.

Readme

Keywords

none

Package Sidebar

Install

npm i @gadmin2/cli

Weekly Downloads

19

Version

0.0.56

License

MIT

Unpacked Size

220 kB

Total Files

184

Last publish

Collaborators

  • g_gadmin