Tao

Results 534 comments of Tao

and if you add `Command.Default` to static paths. then run `cli -h`, this prints help message instead of `Unknown Syntax Error: Command not found; did you mean:`

I use atom user snippet override this. For who want this, see https://gist.github.com/magicdawn/c4d99c4d707e75590232#file-snippets-cson

关于 redux-saga > 可以看出,调整之后的代码有几个优点: > 所有业务代码都存于 saga 中,不再散落在各处 > 全同步执行,就算逻辑再复杂,看起来也不会乱 #### 全同步执行 1. 首先 callback hell 是不好的, 然后不一定要用 generator 啊, async/await/promise 方案也不错 看下 redux thunk 的新版介绍 > Any return value...

I came into a situation that with .prebuildrc has `upload=` And `prebuild --upload-all` , I want to upload all, according to doc Then `rc.upload = token` & `rc['upload-all'] = true`...

I think we should not mess commands & flags What I thought make upload / upload-all as sub commands would be great. ```sh prebuild upload -t prebuild upload-all -t ```

And the upload-all operation can not continue from previous abort, may caused by network ![image](https://user-images.githubusercontent.com/4067115/75604062-d7b7b780-5b0f-11ea-8ad8-1fc7ce710796.png) Expect behavior: if exists, output a message, and skip it

有一点: cnpm 安装是真的比 npm 快不少 同 registry, dnpm 基于 cnpm ```sh magicdawn at localhost in /tmp $ time npm i koa npm WARN saveError ENOENT: no such file or directory,...

已经给新人讲了区别用法,讲完自己发现还是npm 设置个 @scope registry 来的容易 dnpm 是滴滴内部用的