@smartsoft001/cli

This library allow generate dynamic code.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@smartsoft001/cli
1.1.1810 days ago2 years agoMinified + gzip package size for @smartsoft001/cli in KB

Readme

@smartsoft001/cli
This library allow generate dynamic code.

Install

npm install @smartsoft001/cli -g

Usage

Prepare system

Preparing operating system dependencies to work with the framework.
smart prepare

Create project

smart init --name [name]
Parameters:
<tr>
    <td>--name (alias: -n)</td>
    <td>Project name</td>
</tr>

Generate shared library

smart generate library [name] [--type=default]
alias:
smart g lib [name] [--type=default]
Parameters:
<tr>
    <td>name</td>
    <td>Library name</td>
</tr>
<tr>
    <td>--type</td>
    <td>
        Type of library (default: default)
        <ul>
            <li>angular - angular library</li>
            <li>default - nodejs library</li>
        </ul>        
    </td>
</tr>

Generate domain

smart generate domain
alias:
smart g domain [name]
Parameters:
<tr>
    <td>name</td>
    <td>Domain name</td>
</tr>