1.0.5 • Published 8 months ago

@daevin/bot v1.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

Documentation for Daevin gen CLI Tool:

Introduction:

Daevin gen CLI tool is a Command Line Interface tool that helps to generate backend source code for different frameworks. Currently, it supports two frameworks: Apiato and NestJS.

Installation:

To use this tool, first, you need to install Node.js on your system. After installing Node.js, you can install the tool using npm. You can run the following command to install the tool:

npm install -g @daevin/bot 

Usage:

Once you have installed the tool, you can use it from the command line. The tool provides the following commands:

1. gen (or generate):

This command is used to generate backend source code for different frameworks.

a. apiato:

This command generates an Apiato source project based on the configuration file.

Example:

daevin gen apiato -p path/to/config/file.json
daevin gen apiato --path=path/to/config/file.json
Options:

-p or --path: This option specifies the path to the configuration file.

b. nestjs:

This command generates a NestJS source project based on the configuration file.

Example:

daevin gen nestjs -p path/to/config/file.json
daevin gen nestjs --path=path/to/config/file.json
Options:

-p or --path: This option specifies the path to the configuration file.

2. schema:

This command is used to generate a config schema.

Example:

daevin gen schema --template
Options:

-t or --template: When this option is set to true, it generates a starting point template for the config schema.

help:

This command provides help information about the tool. Example:

daevin gen --help

version:

This command provides the version of the tool.

Example:

daevin gen --version

Note: If you don't specify any command, the tool will prompt you to select a command and provide the necessary options.

Conclusion:

Daevin gen CLI tool is a helpful tool for generating backend source code for different frameworks. It saves time and effort and helps developers to focus on other important aspects of their project.

1.0.5

8 months ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago