| 4 | |
| 5 | // eslint-disable-next-line default-param-last |
| 6 | function stencilPull(options = {}, callback) { |
| 7 | async.waterfall( |
| 8 | [ |
| 9 | async.constant(options), |
| 10 | stencilPushUtils.readStencilConfigFile, |
| 11 | stencilPushUtils.getStoreHash, |
| 12 | stencilPushUtils.getChannels, |
| 13 | stencilPushUtils.promptUserForChannel, |
| 14 | stencilPullUtils.getChannelActiveTheme, |
| 15 | stencilPullUtils.getThemeConfiguration, |
| 16 | stencilPullUtils.getCurrentVariation, |
| 17 | stencilPullUtils.mergeThemeConfiguration, |
| 18 | ], |
| 19 | callback, |
| 20 | ); |
| 21 | } |
| 22 | export default stencilPull; |