Re-generate command data for a given command