12 lines
582 B
Text
12 lines
582 B
Text
#compdef laya-repo
|
|
|
|
_describe 'command' '(
|
|
commit-all:go\ through\ all\ libs\ in\ storage,\ stage\ all\ changes,\ commit\ them\
|
|
convert:create\ new\ laya\ repository\ and\ copy\ current\ dir\ to\ repository\ directory\
|
|
pull-all:pull\ or\ clone\ everything\ in\ repository.laya.io/laya/\
|
|
status:show\ what\ is\ not\ commited\
|
|
diff:show\ diff\ of\ current\ directory\ agains\ laya\ lib\ of\ same\ name\
|
|
sync:synchronize\ all\ files\ of\ current\ directory\ to\ laya\ lib\ of\ same\ name\
|
|
sync-all:call\ sync\ to\ all\ subdirectories\ of\ current\ directory
|
|
)' && ret=0
|
|
|