ft_irc/sources/core/main.cpp
2025-05-13 11:23:55 +02:00

28 lines
1.3 KiB
C++

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/05/13 11:03:13 by rparodi #+# #+# */
/* Updated: 2025/05/13 11:03:16 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#include <iostream>
#include "core.hpp"
int main(int argc, char *argv[]) {
if (argc != 3) {
std::cerr << CLR_RED << "Usage: " << argv[0] << " <port> <password>" << CLR_RESET << std::endl;
return 1;
}
if (DEBUG) {
std::cout << CLR_GREY << "Port:\t\t" << CLR_GREEN << argv[1] << CLR_RESET << std::endl;
std::cout << CLR_GREY << "Password:\t" << CLR_GREEN << argv[2] << CLR_RESET << std::endl;
}
while (1)
;
return 0;
}