// // Created by nano on 4/1/25. // #include #include int whichOption(char *defaultOptions[],char *choice) { int res =0; //TODO: find a way to not have to hardcode the number of choices for (int i=0;i<5;i++) { if (strncmp(defaultOptions[i],choice,strlen(choice))==0) { res = i; } } return res; } void printHelp(){ printf("Usage: breeze \n"); printf("breeze is a cli tool that helps you create shortcuts for often repeated commands.\n"); printf("You can create local or global commands. Global commands are created with the breeze global subset of commands \n"); }