Adding --action option to set the state transition to apply.