support `paths` option
Merge pull request #146 from RoboTeddy/v2Dev-paths

support `paths` option