mappe.json
{
"default": "default",
"styles": {
"default": [
"camelCase",
"upperCaseFirst"
],
"custom": [
"snakeCase",
"lowerCaseFirst"
]
},
"components": {
"default": {
"title": "default",
"extensions": {
"js": "custom",
"css": "default"
}
}
}
}
Folder and files named with the same name, following the rules setted in the configuration file
Result:
__ ./ThisIsAnExample/
$ mappe generate default this is an example
$ mappe g default this is an example
Creates a folder following the rules setted in the configuration file
Result:
__ ./ThisIsAnExample/
$ mappe folder default this is an example
Creates a file inside a given folder following the rules setted in the configuration file
Result:
__ ./ThisIsAnExample/
$ mappe file default js ThisIsAnExample this is another example