11using System ;
2- using System . Collections . Generic ;
3- using System . Linq ;
42using System . Reflection ;
5- using System . Text ;
6- using System . Threading . Tasks ;
7- using static System . Net . Mime . MediaTypeNames ;
83
94namespace DescribeCompilerCLI
105{
@@ -14,14 +9,14 @@ namespace DescribeCompilerCLI
149 //minimalist - Bulbhead, Graceful, Modular, Ogre, Slant, Small
1510 //Small Slant, Standard, Twisted, ANSI Shadow
1611
17- internal static class Messages
12+ public static class Messages
1813 {
1914 //settings
20- static bool ONE_BASED_ARG_INDEX = true ;
21- static ConsoleColor INFO_COLOR = ConsoleColor . DarkGray ;
22- static ConsoleColor TEXT_COLOR = ConsoleColor . White ;
23- static ConsoleColor ERROR_COLOR = ConsoleColor . Red ;
24- static ConsoleColor MOREINFO_COLOR = ConsoleColor . Green ;
15+ public static bool ONE_BASED_ARG_INDEX = true ;
16+ public static ConsoleColor INFO_COLOR = ConsoleColor . DarkGray ;
17+ public static ConsoleColor TEXT_COLOR = ConsoleColor . White ;
18+ public static ConsoleColor ERROR_COLOR = ConsoleColor . Red ;
19+ public static ConsoleColor MOREINFO_COLOR = ConsoleColor . Green ;
2520
2621 static string thisName ;
2722 static Messages ( )
@@ -31,35 +26,35 @@ static Messages()
3126
3227
3328 //themes
34- internal static void SetDefaultTheme ( )
29+ public static void SetDefaultTheme ( )
3530 {
3631 INFO_COLOR = ConsoleColor . DarkGray ;
3732 TEXT_COLOR = ConsoleColor . White ;
3833 ERROR_COLOR = ConsoleColor . Red ;
3934 MOREINFO_COLOR = ConsoleColor . Green ;
4035 }
41- internal static void SetVioletTheme ( )
36+ public static void SetVioletTheme ( )
4237 {
4338 INFO_COLOR = ConsoleColor . DarkMagenta ;
4439 TEXT_COLOR = ConsoleColor . White ;
4540 ERROR_COLOR = ConsoleColor . Red ;
4641 MOREINFO_COLOR = ConsoleColor . DarkGray ;
4742 }
48- internal static void SetCyanTheme ( )
43+ public static void SetCyanTheme ( )
4944 {
5045 INFO_COLOR = ConsoleColor . DarkMagenta ;
5146 TEXT_COLOR = ConsoleColor . Cyan ;
5247 ERROR_COLOR = ConsoleColor . Red ;
5348 MOREINFO_COLOR = ConsoleColor . DarkCyan ;
5449 }
55- internal static void SetLightBlueTheme ( )
50+ public static void SetLightBlueTheme ( )
5651 {
5752 INFO_COLOR = ConsoleColor . White ;
5853 TEXT_COLOR = ConsoleColor . Blue ;
5954 ERROR_COLOR = ConsoleColor . Red ;
6055 MOREINFO_COLOR = ConsoleColor . DarkCyan ;
6156 }
62- internal static void SetDarkBlueTheme ( )
57+ public static void SetDarkBlueTheme ( )
6358 {
6459 INFO_COLOR = ConsoleColor . DarkGray ;
6560 TEXT_COLOR = ConsoleColor . DarkBlue ;
@@ -69,16 +64,16 @@ internal static void SetDarkBlueTheme()
6964
7065
7166 //presets
72- internal static void presetConsole ( )
67+ public static void presetConsole ( )
7368 {
7469 Console . BufferHeight = Int16 . MaxValue - 1 ;
7570 Console . ForegroundColor = ConsoleColor . DarkGray ;
7671 }
77- internal static void printLogo3 ( )
72+ public static void printLogo3 ( )
7873 {
7974 printLogo3 ( TEXT_COLOR ) ;
8075 }
81- internal static void printLogo3 ( ConsoleColor logoColor )
76+ public static void printLogo3 ( ConsoleColor logoColor )
8277 {
8378 Log += @" /\\\\ /\\\\ /\\\\ /\\\\ /\\\\ /\\\\ /\\\\ /\\\\ " + Environment . NewLine ;
8479 Log += @" / \\\\ / \\\\ / \\\\ / \\\\ / \\\\ _\ \\\\ / \\\\ / \\\\ " + Environment . NewLine ;
@@ -100,11 +95,11 @@ internal static void printLogo3(ConsoleColor logoColor)
10095 Console . WriteLine ( ) ;
10196 Console . ForegroundColor = col ;
10297 }
103- internal static void printLogo2 ( )
98+ public static void printLogo2 ( )
10499 {
105100 printLogo2 ( TEXT_COLOR ) ;
106101 }
107- internal static void printLogo2 ( ConsoleColor logoColor )
102+ public static void printLogo2 ( ConsoleColor logoColor )
108103 {
109104 Log += @" /\\\ /\\\ /\\\ /\\\ /\\\ /\\\ /\\\ /\\\ " + Environment . NewLine ;
110105 Log += @" / \\\ / \\\ / \\\ / \\\ / \\\ _\ \\\ / \\\ / \\\ " + Environment . NewLine ;
@@ -126,11 +121,11 @@ internal static void printLogo2(ConsoleColor logoColor)
126121 Console . WriteLine ( ) ;
127122 Console . ForegroundColor = col ;
128123 }
129- internal static void printLogo3Bicolor ( )
124+ public static void printLogo3Bicolor ( )
130125 {
131126 printLogo3Bicolor ( TEXT_COLOR , INFO_COLOR ) ;
132127 }
133- internal static void printLogo3Bicolor ( ConsoleColor colorA , ConsoleColor colorB )
128+ public static void printLogo3Bicolor ( ConsoleColor colorA , ConsoleColor colorB )
134129 {
135130 Log += @" /\\\\ /\\\\ /\\\\ /\\\\ /\\\\ /\\\\ /\\\\ /\\\\ " + Environment . NewLine ;
136131 Log += @" / \\\\ / \\\\ / \\\\ / \\\\ / \\\\ _\ \\\\ / \\\\ / \\\\ " + Environment . NewLine ;
@@ -257,7 +252,7 @@ internal static void printLogo3Bicolor(ConsoleColor colorA, ConsoleColor colorB)
257252
258253
259254 //errors
260- internal static void printCmdLine ( string [ ] args )
255+ public static void printCmdLine ( string [ ] args )
261256 {
262257 string s = "> " ;
263258
@@ -279,7 +274,7 @@ internal static void printCmdLine(string[] args)
279274
280275 ConsoleLogInfo ( s ) ;
281276 }
282- internal static void printExtTemplatesSuccess ( string path )
277+ public static void printExtTemplatesSuccess ( string path )
283278 {
284279 //add to log
285280 Log += "Templates outputted to \" " + path + "\" " + Environment . NewLine ;
@@ -292,7 +287,7 @@ internal static void printExtTemplatesSuccess(string path)
292287 Console . ForegroundColor = TEXT_COLOR ;
293288 Console . ReadKey ( ) ;
294289 }
295- internal static void printCompilationSuccess ( )
290+ public static void printCompilationSuccess ( )
296291 {
297292 //add to log
298293 Log += "Task completed successfully. Press any key to exit." + Environment . NewLine ;
@@ -303,7 +298,7 @@ internal static void printCompilationSuccess()
303298 Console . ForegroundColor = TEXT_COLOR ;
304299 Console . ReadKey ( ) ;
305300 }
306- internal static void printHelpMessage ( )
301+ public static void printHelpMessage ( )
307302 {
308303 ConsoleLogInfo ( "-----------------------------------------------------------------" ) ;
309304 ConsoleLog ( "usage: " + thisName + " help | -h" ) ;
@@ -360,7 +355,7 @@ internal static void printHelpMessage()
360355 Console . ForegroundColor = TEXT_COLOR ;
361356 Console . ReadKey ( ) ;
362357 }
363- internal static void printWarning ( string message )
358+ public static void printWarning ( string message )
364359 {
365360 Console . ForegroundColor = INFO_COLOR ;
366361 Log += "Warning: " + message + Environment . NewLine ;
@@ -371,7 +366,7 @@ internal static void printWarning(string message)
371366 Console . ForegroundColor = TEXT_COLOR ;
372367 Console . ReadKey ( ) ;
373368 }
374- internal static void printNoArgumentsError ( )
369+ public static void printNoArgumentsError ( )
375370 {
376371 Console . ForegroundColor = ERROR_COLOR ;
377372 Log += "No arguments or invalid argument count." + Environment . NewLine ;
@@ -387,7 +382,7 @@ internal static void printNoArgumentsError()
387382 Console . ForegroundColor = TEXT_COLOR ;
388383 Console . ReadKey ( ) ;
389384 }
390- internal static void printArgumentError ( string arg , int argIndex )
385+ public static void printArgumentError ( string arg , int argIndex )
391386 {
392387 Console . ForegroundColor = ERROR_COLOR ;
393388 if ( ONE_BASED_ARG_INDEX ) argIndex ++ ;
@@ -404,7 +399,7 @@ internal static void printArgumentError(string arg, int argIndex)
404399 Console . ForegroundColor = TEXT_COLOR ;
405400 Console . ReadKey ( ) ;
406401 }
407- internal static void printArgumentError ( string arg , int argIndex , string message )
402+ public static void printArgumentError ( string arg , int argIndex , string message )
408403 {
409404 Console . ForegroundColor = ERROR_COLOR ;
410405 if ( ONE_BASED_ARG_INDEX ) argIndex ++ ;
@@ -419,7 +414,7 @@ internal static void printArgumentError(string arg, int argIndex, string message
419414 Console . ForegroundColor = TEXT_COLOR ;
420415 Console . ReadKey ( ) ;
421416 }
422- internal static void printFatalError ( string message )
417+ public static void printFatalError ( string message )
423418 {
424419 Console . ForegroundColor = ERROR_COLOR ;
425420 Log += "Fatal error: " + message + Environment . NewLine ;
@@ -435,31 +430,31 @@ internal static void printFatalError(string message)
435430
436431
437432 //log
438- internal static string Log
433+ public static string Log
439434 {
440435 get ;
441436 private set ;
442437 }
443- internal static void ConsoleLog ( string text )
438+ public static void ConsoleLog ( string text )
444439 {
445440 Log += text + Environment . NewLine ;
446441 Console . WriteLine ( text ) ;
447442 }
448- internal static void ConsoleLogInfo ( string text )
443+ public static void ConsoleLogInfo ( string text )
449444 {
450445 Log += text + Environment . NewLine ;
451446 Console . ForegroundColor = INFO_COLOR ;
452447 Console . WriteLine ( text ) ;
453448 Console . ForegroundColor = TEXT_COLOR ;
454449 }
455- internal static void ConsoleLogError ( string text )
450+ public static void ConsoleLogError ( string text )
456451 {
457452 Log += text + Environment . NewLine ;
458453 Console . ForegroundColor = ERROR_COLOR ;
459454 Console . WriteLine ( text ) ;
460455 Console . ForegroundColor = TEXT_COLOR ;
461456 }
462- internal static void ConsoleLogParseInfo ( string text )
457+ public static void ConsoleLogParseInfo ( string text )
463458 {
464459 Log += text + Environment . NewLine ;
465460 Console . ForegroundColor = MOREINFO_COLOR ;
0 commit comments