popomore / projj

Manage repository easily.
MIT License
266 stars 40 forks source link

Feature #1

Closed popomore closed 7 years ago

popomore commented 7 years ago

init

set the base directory of projj, for example ~/code

generator ~/.projj/config to store the config

add project

$ projj add git@github.com:popomore/projj.git

the structure will follow the git repo

BASEDIR
`- github.com
    `- popomore
        `- projj

hook

Edit the file ~/.projj/hook

buildin hook

The hook will be called when run buildin commander like projj add

custom hook

Define hook in ~/.projj/hook

clean = rm -rf node_modules

You can run projj run clean, it will remove node_modules in every project.

popomore commented 7 years ago

https://github.com/popomore/projj/pull/2