@gnx-utilities/cli
v0.0.32
Published
GNX/CLI is a command line interface for the GNX/Utilities library, which allows you to generate the necessary files to create models, services and controllers for your project using the `@gnx/models` & `@gnx/service` schemas.
Downloads
5
Maintainers
Readme
📝 GNX/CLI
GNX/CLI is a command line interface for the GNX/Utilities library, which allows you to generate the necessary files to create models, services and controllers for your project using the @gnx/models
& @gnx/service
schemas.
📦 Installation
npm install @gnx-utilities/cli -g
pnpm add @gnx-utilities/cli -g
yarn add @gnx-utilities/cli -g
bun add @gnx-utilities/cli -g
🚀 Usage
gnx create -n <name> -d <dir> -e <ext>
📝 Examples
gnx create -n user -d src/models -e ts
gnx create -n user -d src/services -e ts
gnx create -n user -d src/controllers -e ts
gnx create -n user -d src/models -e js
gnx create -n user -d src/services -e js
gnx create -n user -d src/controllers -e js