chore: refactor banner function in repl