0.0.8 • Published 8 months ago

cli-create-default-project v0.0.8

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

CLI Create Default Struture Project

Code Size Code Size Code Size


Indice


What is it?

This project, is a CLI make in Node.Js, that have the purpose to create default struture of a project CRUD in Express


What technologies this project use?

  • Node.Js
    • TypeScript
    • Yargs(lib)

How install it?

It's simple, just you install the package as global, example:

# Yarn
$ yarn global add cli-create-default-project

# npm
$ npm install -g cli-create-default-project

After you install the package, you can pass this params:

$ create-project --docker --http2 --cloud firebase aws

Ok, but, what is this params?

{
    "description": {
        "--docker": "if pass this flag, the docker is enabled in the project",
        "--http2": "if pass this flag, the http2(spdy) is enabled in the project(express)",
        "--cloud": {
            "description": "you can pass until 2 values to enable X cloud provider(sdk) in the project",
            "values": ["firebase", "aws"]
        },
    }
}

Example of use:

I want to create a project, with redis and docker enabled. What command I pass to the CLI create it for me?

$ yarn create-project --docker

After that this command finalize, you can see this struture of folders and files:

Made with Love by Ramon Paolo Maram :3
0.0.8

8 months ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago