CommandApi - functional programming interface