Make withPrompts, withArguments, withOptions chainable

Close #631