added support for --path in view generator

Nothing pretty, but thought it might be useful for views.