要求,执行
adbclear com.example.sang.helloworld
等于
adb shell pm clear com.example.sang.helloworld
核心
- package.json里配置全局命令
- argv读取
- 发布到npmjs.org上(注意名字adbclear是不能一样的)
想写的同学,把代码放到github上,此贴回复链接,然后我来review一下
要求,执行
adbclear com.example.sang.helloworld
等于
adb shell pm clear com.example.sang.helloworld
核心
想写的同学,把代码放到github上,此贴回复链接,然后我来review一下
@russj 无任何难点,因为难点都在https://github.com/i5ting/node-cli-tmpl 里了,只是填空
lz 你真闲 any points in this?
开个张 :)
alias adbclear='adb shell pm clear'