Creates an instance of new project maker.
the name of the project, to be used for naming the container folder and the project name in package.json.
the name of the project, to be used for naming the container folder and the project name in package.json.
Creates the config dir.
Creates a file in the provided relative path with the contents passed.
relative path to base
.
contents of the file to write.
Inits new project maker.
Loops all keys of FILES_TO_CREATE
and for each calls createFile
Converts the name passed to a kebab case formatted string
Calls workingDirSetter
passing the projectName
as the base
name. Because workingDirSetter
creates the folders if none is found, in this way the whole project structure is automaticlly created.
Creates a new project under a directory named after the project passed as a CLI argument.