bionode-watermill icon indicating copy to clipboard operation
bionode-watermill copied to clipboard

Basic CLI

Open thejmazz opened this issue 8 years ago • 2 comments

  • [ ] --resume option
  • [ ] --rerun option

thejmazz avatar Jul 09 '16 19:07 thejmazz

We should add:

  • [ ] --logger option for redux-logger outputs which can be quite useful to debug. This is controlled in lib/watermill.js.

Moreover, maybe this CLI should be transversal to other bionode modules, i.e, use the same npm package.

Another thing to take into account when implementing this option, is that examples/pipelines will become broken. And something like the following should be used in those pipelines scripts:

const watermill = require('bionode-watermill')

const { task } = watermill({ ...options })

tiagofilipe12 avatar Jul 06 '17 17:07 tiagofilipe12

Also in that case, doing

const watermill = require('bionode-watermill')

const { task } = watermill({ /* options */ })
const { join } = watermill({ /* options */ })

would be weird because the task and join would be connected to different stores

thejmazz avatar Jul 07 '17 18:07 thejmazz