quimuco
v2.1.1
Published
quick multi commands
Downloads
2
Readme
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