parseCommand takes a callback that overrides it default success callback