makersetter v1.0.1
#makerSetter
Personal Template Maker, or something
super alpha level
What it is.
Do you make a lot of similar apps? If so then I assume you most likely have a template or two that you use to make your apps. Well this cli tool allows you to copy your template and then you will be able to build your own little bootstrapped template with a single command of your choosing.
makerSetter allows you to take all of the contents of a directory, in most cases your template, and allow the reproduction with a single command. (also you get to make the name of your new cli tool, so essentially if you have never made a node_module or zsh, sh, bash script you still get to say that you make terminal scripts!)
also please let me know if you have seen something similar, thomcchester@gmail.com or at github.com/thomchester
User Guide
I wont bore you, if you want to learn why I made this, you can read it at the end... yeah right.
first things first
you are going to need node. If you have node skip this section.
do you have homebrew? if(answer='yes'){ great then just do this:
```bash
brew install node
```
}else{ then go here: https://nodejs.org/en/ }
now that you have node just do this:
npm install -g makerSetter
##Good you downloaded it, dont I look good now Now that you have it I will show you how to use it.
cd into what ever directory you want to store your new cli tool.
cd ~/your/path/etc
then you are going to make the big move:
makerSetter -p /path/of/you/template -n newName
Okay a couple of things to keep in mind. 1) After the -p (path) you put in that path you want it, however you do not put in your home directory into it, it does that for you. (I was tired of typing my home dir).
2)you start your path with a "/", why you may ask, cause I feel like it.
3)It is looking for a global path so it wont really understand ../|./ etc.
4)newName is the new command you want to use every time you want to create your new template, name it something dope.
Okay now that you have run it, there are a couple of steps before you can run it
1) cd into your new directory
cd /newly/created/app/newName
2)install dependencies
npm install
3)install globally
npm install -g
great you made it.
##wait, what? how do I use it now? now if you want to make a copy of your template just:
newName -n whatEverYouWantToCallYourNewProject
it will create a copy in what ever directory you called it from!
##You don't have to read now. I really only created this because why not.
I was making an app, and thought I want an app that makes apps. Then I was like I want an app that makes apps that makes apps. I thought about one more derivation and realized that wouldn't help me.
Any I will probably add more about history later.