index.js
//asks the user what they would like to add.
asks the user what they would like to add.
asks the user what they would like to add .
function addSelect() {
    inquirer.prompt(
        {
            type: "list",
            message: enquiries.add.question,
            choices: [enquiries.add.a, enquiries.add.b, enquiries.add.c],
            name: "addition"
        }
    )
        .then(function (response) {
            switch (response.addition) {
                case enquiries.add.a:
                    handleDepartmentAdd();
                    break;
                case enquiries.add.b:
                    console.lo
                    handleRoleAdd();
                    break;
                case enquiries.add.c:
                    handleEmployeeAdd();
                    break;
            }
        })
}
function addSelect ( ) { inquirer . prompt ( { type : "list" , message : enquiries . add . question , choices : [ enquiries . add . a , enquiries . add . b , enquiries . add . c ] , name : "addition" } ) . then ( function ( response ) { switch ( response . addition ) { case enquiries . add . a : handleDepartmentAdd ( ) ; break ; case enquiries . add . b : console . lo handleRoleAdd ( ) ; break ; case enquiries . add . c : handleEmployeeAdd ( ) ; break ; } } ) }
asks the user what they would like to add.
asks the user what they would like to add .