You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
USAGE="${blue}USAGE:${white} run ${cyan}file ${yellow}:${white} compiles and executes the executable
31
+
USAGE="${blue}USAGE:${white} run ${yellow}[OPTIONS] ${cyan}file ${yellow}:${white} compiles into an executable, executes it and then deletes it ${yellow}-${white} by default
32
32
33
33
${blue}OPTIONS: ${white}
34
-
[${red}--cc${white}/${red}-c${white}]=${cyan}<compiler>${white}${yellow}:${white} compiles${red}(${white}NON persistent${red})${white} the *.c file with specified compiler
35
-
${red}--cxx${white}=${cyan}<compiler>${white}${yellow}:${white} compiles${red}(${white}NON persistent${red})${white} the *.cpp file with specified compiler
34
+
[${red}--cc${white}/${red}-c${white}]=${cyan}<compiler>${white}${yellow}:${white} compiles the *.c file with specified compiler
35
+
[${red}--cxx${white}]=${cyan}<compiler>${white}${yellow}:${white} compiles the *.cpp file with specified compiler
36
36
[${red}--python${white}/${red}-py${white}]=${cyan}<2/3>${white}${yellow}:${white} executes the given python file with specified python version
37
-
[${red}--debug${white}/${red}d${white}] ${yellow}:${white} compiles${red}(${white}NON persistent${red})${white}the file and pipes it to the specified debugger
38
-
[${red}--compile${white}/${red}c${white}] ${yellow}:${white} compiles${red}(${white}persistent${red})${white} the file to an executable but doesn't run it
39
-
[${red}--persistent${white}/${red}p${white}] ${yellow}:${white} keeps the intermediate compiled files and cache directories${red}(${white}which are deleted by default${red})${white}
37
+
[${red}--debug${white}/${red}d${white}] ${yellow}:${white} compilesthe file and pipes it into the default debugger
38
+
[${red}--compile${white}/${red}c${white}] ${yellow}:${white} compiles the file to an executable but doesn't execute it${red}(${white}persistent${red})${white}
39
+
[${red}--persistent${white}/${red}p${white}] ${yellow}:${white} keeps the intermediate compiled files and cache directories${yellow}-${white}which are deleted by default
40
40
41
41
${blue}Clean Utility:${white}
42
-
run ${red}rclean-exe${white}${yellow}:${white} deletes all executable files within the folder recursively
43
-
run ${red}clean-exe${white}${yellow}:${white} deletes all executable files within the folder NON recursively
44
-
run ${red}clean${white}${yellow}:${white} removes debug folder, .out and temp files
42
+
run ${red}rcexe${white}${yellow}:${white} deletes all executable files within the folder recursively
43
+
run ${red}cexe${white}${yellow}:${white} deletes all executable files within the folder NON recursively
44
+
run ${red}clean${white}${yellow}:${white} removes debug folder, executables and temp files
45
45
46
46
${blue}Miscellaneous:${white}
47
-
run [${red}--list-langs${white}/${red}ll${white}] ${yellow}:${white} lists all languages supported by this code-runner"
47
+
run [${red}--list-langs${white}/${red}ll${white}] ${yellow}:${white} lists all languages supported by current version of code-runner
48
+
run [${red}--version${white}/${red}v${white}] ${yellow}:${white} echoes the current version of code-runner"
48
49
49
50
_ERROR_UFTC_() {
50
51
echo"${red}ERROR: ${white}This file type can't be compiled or the file does not exist!"
0 commit comments