Make the command an enum.