#include "minishell.h"

int main(int argc, char **argv, char **envp)
{
	t_shell sh;

	(void)argv;
	if (argc != 1)
	{
		fprintf(stderr, "Usage: ./minishell\n");
		return 1;
	}
	ms_init(&sh, envp);
	ms_loop(&sh);
	ms_cleanup(&sh);
	return sh.exit_status;
}
