Allow kwargs for --action

Resolves issue #267.