resource and input now passed to init command
Merge pull request #27 from yanhick/init-resource

resource and input now passed to init command