Allows you to quickly create new projects based off local templates.
start-project hello-app node-tape
# creates a new project `hello-app` based on the `node-tape` template
- Create a Git project in
~/.start-project/templates/
. - Add
PROJECT_NAME
anywhere you want the new project's name to go.
start-project new-idea some-cool-template
# creates a new project `new-idea` based on `some-cool-template`
start-project --version
# prints version
git clone [email protected]:reergymerej/start.git start-project
cp start-project/main.sh /usr/local/bin/start-project
rm -rf start-project
-
Configurations should be stored in
~/.start-project/config
. -
Good UX: https://codeburst.io/13-tips-tricks-for-writing-shell-scripts-with-awesome-ux-19a525ae05ae
-
Post-clone setup instructions (ex: yarn install)
-
Retain ref to template project so clones can pull in changes later.
-
Ag alternatives, sed?
start-project update node-jest .
# update the `node-jest` template to match the current dir
start-project list
# list templates
start-project template node-tape node-willy
# creates a new template `node-willy` based on the `node-tape` template