2.1.1 • Published 6 years ago

quimuco v2.1.1

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

Quimuco

quick multi commands

Install

    npm install quimuco

Github

Star if your like this package :star:
Contribute to create new features or fix bugs
We are the community Github Project

Creating a config

Create a config called qmc-config.json in folder project

List of parameters in config

  • directory
  • commands
  • changer

Example

{
    "directory": "",
    "commands": {
        "createFolderCalledHelloWorld":[
            "mkdir hello world",
        ]
    }
}

Create and Remove a folder in folder src (check the field DIRECTORY in json)

{
    "directory": "src",
    "changer": [
        {
            "recipient": "$",
            "input": "folderName"
        }
    ],
    "commands": {
        "creanteAndRemoveFolder":[
            "mkdir $",
            "rmdir $"
        ]
    }
}

Angular example

Create a folder called folder1 and after create a base to crud in angular with service (the folder is a example)

{
    "directory": "",
    "changer": [
        {
            "recipient": "$dir1",
            "input": "folder1"
        },
        {
            "recipient": "*",
            "input": "components"
        },
        {
            "recipient": "$",
            "input": "job"
        }
    ],
    "commands": {
        "createFolder": [
            "mkdir $dir1",
        ],
        "createCrud": [
            "ng g m */$",
            "ng g c */$/$-list",
            "ng g c */$/$-form",
            "ng g s */$/service/$"
        ]
    }
}

Run in your folder with container qmc-config.json

    quimuco

Help

Run in your cmd quimuco --help or create a issue

2.1.1

6 years ago

2.1.0

6 years ago

2.0.9

6 years ago

2.0.8

6 years ago

2.0.7

6 years ago

2.0.6

6 years ago

2.0.5

6 years ago

2.0.4

6 years ago

2.0.3

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago