feat(command_list): Abstracted out flow for list command. Refactor. Change JSLint directive