justbilt / untp

A command line tool to split TexturePacker published files.
MIT License
153 stars 66 forks source link

不加任何参数则递归的把目录下的所有图片解剖 #4

Closed cococolanosugar closed 8 years ago

cococolanosugar commented 8 years ago

不加任何参数则递归的把目录下的所有图片解剖

justbilt commented 8 years ago

Thanks, awesome feature!

I think a batter way is input a directory ! eg. untp /path/of/you/dir

it could division by check the argument is directory(os.path.isdir) or file(os.path.isfile).