0.4.4 • Published 10 years ago

wtl-cli v0.4.4

Weekly downloads
5
License
MIT
Repository
-
Last release
10 years ago

wtl-cli

Tools

  • Tool for Extract Layer Images Form AI File 1 从AI文件中把每一图层批量生成png —— ai export png

CLI

AI & Template generate

  • Generating Image Requirement Form a Template 根据给定的json模板文件,分析需要的图片资源,并生成requirements.txt
wtl gen_requirement --imgType preview --output ./requirement.txt ./template.json
  • Create a Template 根据json模板和AI图层文件目录, 生成目标模板(加入zIndex),并构建图片目录
cd path/to/ai_imgs/
# wtl gen_template --imgType preview --template ./example.json --output ./template.json .
# 最简单
wtl gen_template .
  • Packaging 把design/,decoration/, template.json打包成压缩包,压缩包名为模板的名称
cd path/to/ai_imgs/
wtl package .

Development

npm install
make test
0.4.4

10 years ago

0.4.3

10 years ago

0.4.2

10 years ago

0.4.0

10 years ago

0.3.3

10 years ago

0.3.2

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago