diff --git a/CANAPE.Cli.Lib/ConsoleUtils.cs b/CANAPE.Cli.Lib/ConsoleUtils.cs
index 7844ec4..318b993 100644
--- a/CANAPE.Cli.Lib/ConsoleUtils.cs
+++ b/CANAPE.Cli.Lib/ConsoleUtils.cs
@@ -15,11 +15,11 @@
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see .
+using CANAPE.DataFrames;
using CANAPE.Utils;
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
-using CANAPE.DataFrames;
namespace CANAPE.Cli
{
@@ -96,7 +96,7 @@ private static bool GetEffectiveColorMode()
{
return _supports_ansi_color && EnableColor;
}
-
+
public static void WritePacket(LogPacket packet)
{
Console.Out.WriteLine(PacketUtils.ConvertPacketToString(packet, GetEffectiveColorMode()));
@@ -110,17 +110,17 @@ public static void WritePackets(IEnumerable packets)
}
}
- public static void WritePacket(DataFrame frame)
- {
- Console.Out.WriteLine(PacketUtils.ConvertPacketToString(frame));
- }
+ public static void WritePacket(DataFrame frame)
+ {
+ Console.Out.WriteLine(PacketUtils.ConvertPacketToString(frame));
+ }
- public static void WritePackets(IEnumerable packets)
- {
+ public static void WritePackets(IEnumerable packets)
+ {
foreach (DataFrame packet in packets)
- {
- WritePacket(packet);
- }
- }
+ {
+ WritePacket(packet);
+ }
+ }
}
}
diff --git a/CANAPE.Cli.Lib/EntryPoint.cs b/CANAPE.Cli.Lib/EntryPoint.cs
index d013b0c..a135e76 100644
--- a/CANAPE.Cli.Lib/EntryPoint.cs
+++ b/CANAPE.Cli.Lib/EntryPoint.cs
@@ -17,10 +17,10 @@
// along with this program. If not, see .
using CANAPE.Net.Templates;
using CANAPE.Utils;
+using McMaster.Extensions.CommandLineUtils;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Scripting;
using Microsoft.CodeAnalysis.Scripting;
-using McMaster.Extensions.CommandLineUtils;
using System;
using System.Collections.Generic;
using System.IO;
@@ -70,7 +70,7 @@ private static ScriptOptions CreateScriptOptions(string filename, IEnumerable include_dirs, IEnumerab
var options = CreateScriptOptions(null, include_dirs, metadata_dirs);
var state = await CSharpScript.RunAsync("static void quit() { Environment.Exit(0); }", options);
Console.WriteLine("Type quit() to exit the console");
-
+
while (true)
{
StringBuilder current_line = new StringBuilder();
@@ -124,7 +124,7 @@ private async static Task RunConsole(IEnumerable include_dirs, IEnumerab
}
}
- private static ScriptRunner