Sindre Sorhus

Results 4160 comments of Sindre Sorhus

I don't think that's a good idea. The system binary might be outdated and missing CLI flags that the user has supplied or differing behavior.

Yes, but you have to delete the cache. See https://github.com/sindresorhus/meow/blob/d055091dff7a9dc9a75bc619852a4ffacda2d6fb/index.js#L8-L10

I wish I didn't have to create this boilerplate file: https://github.com/flowtype/flow-bin/blob/master/lib/install.js Also wish I could define everything in one file instead of having to have multiple: `lib/index.js` `lib/install.js` `index.js` `cli.js`....

Please elaborate. Not clear what you’re saying.

What configuration files? Also see: https://github.com/sindresorhus/alfy/issues/36

Actually, one problem with using `bin` is that npm will add it as a global binary when the user install the workflow, so while `bin` is more correct semantically, `main`...