Closed popomore closed 7 years ago
set the base directory of projj, for example ~/code
~/code
generator ~/.projj/config to store the config
~/.projj/config
$ projj add git@github.com:popomore/projj.git
the structure will follow the git repo
BASEDIR `- github.com `- popomore `- projj
Edit the file ~/.projj/hook
~/.projj/hook
The hook will be called when run buildin commander like projj add
projj add
Define hook in ~/.projj/hook
clean = rm -rf node_modules
You can run projj run clean, it will remove node_modules in every project.
projj run clean
https://github.com/popomore/projj/pull/2
init
set the base directory of projj, for example
~/code
generator
~/.projj/config
to store the configadd project
the structure will follow the git repo
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
You can run
projj run clean
, it will remove node_modules in every project.