Add ability to specify arguments syntax for top-level command

* index.js: Add arguments method, support top-level command in action.

This would fix issue #257.