Skip to content

Commit

Permalink
change up the splash screen and work on commands
Browse files Browse the repository at this point in the history
  • Loading branch information
axellse committed Jan 14, 2024
1 parent ce1e485 commit 7754bc0
Show file tree
Hide file tree
Showing 13 changed files with 32 additions and 6 deletions.
Binary file modified TerminalPilot/.vs/TerminalPilot/v17/.suo
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,16 @@ public enum InputType
PilotedProgramCommand, //a terminalpilotcommand that adds functionality to an existing built-in command
CouldNotDetermine //self-explanitory, often result of user error
}
public class CommandInterpreter
public class Interpreter
{
public static void CommandInterpreter(string command)
{

}
public string[] Commands = new string[]
{

};
public static InputType DetermineInputType(string startcommand, TerminalInstance instance)
{
OSVariables os = OSVariablesMethods.GetOSVariables();
Expand All @@ -36,7 +44,8 @@ public static InputType DetermineInputType(string startcommand, TerminalInstance
}
} else
{
//terminalpilotcommand &
//terminalpilotcommand, builtincommand

}
return InputType.CouldNotDetermine;
}
Expand Down
2 changes: 1 addition & 1 deletion TerminalPilot/Parser/Parser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ void messagetip(string message)
Console.Write(parseconfig.linefeed.Replace("{PATH}", instance.Workingdirectory.FullName));
}
Console.WriteLine();
CommandInterpreter.interprete(_tempflag_commandwinput, instance);
Interpreter.interprete(_tempflag_commandwinput, instance);
_tempflag_commandwinput = "";
Console.Write(parseconfig.linefeed.Replace("{PATH}", instance.Workingdirectory.FullName));
_tempflag_deletelimit = Console.CursorLeft;
Expand Down
2 changes: 1 addition & 1 deletion TerminalPilot/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ static void Main(string[] args)
Console.WriteLine("TerminalPilot".Pastel(Color.Aqua) + ", Version " + Assembly.GetExecutingAssembly().GetName().Version);
Console.WriteLine("From pyrret, Under MIT License.");
Console.WriteLine();
Console.WriteLine("visit https://tp.axell.me/update for the latest TerminalPilot!");
Console.WriteLine("Link your github account at " + "https://pilot.axell.me/link".Pastel(Color.DarkViolet) + " for extra features!");
Parser.Parser parser = new Parser.Parser();
parser.StartParse(instance);

Expand Down
Binary file modified TerminalPilot/bin/Debug/net6.0/TerminalPilot.dll
Binary file not shown.
Binary file modified TerminalPilot/bin/Debug/net6.0/TerminalPilot.pdb
Binary file not shown.
Binary file modified TerminalPilot/bin/Debug/net6.0/ref/TerminalPilot.dll
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
564a153cfd9b948846cf590a1f8943e87bfafbdd
7c6aae9241354ff34348edfdcd1c8b1561c0c2a2
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,20 @@ C:\Users\ponte\source\terminalpilot\TerminalPilot\obj\Debug\net6.0\TerminalPilot
C:\Users\ponte\source\terminalpilot\TerminalPilot\obj\Debug\net6.0\TerminalPilot.genruntimeconfig.cache
C:\Users\ponte\source\terminalpilot\TerminalPilot\bin\Debug\net6.0\Pastel.dll
C:\Users\ponte\source\terminalpilot\TerminalPilot\obj\Debug\net6.0\TerminalPilot.csproj.CopyComplete
C:\Users\ponte\Documents\GitHub\terminalpilot\TerminalPilot\bin\Debug\net6.0\TerminalPilot.exe
C:\Users\ponte\Documents\GitHub\terminalpilot\TerminalPilot\bin\Debug\net6.0\TerminalPilot.deps.json
C:\Users\ponte\Documents\GitHub\terminalpilot\TerminalPilot\bin\Debug\net6.0\TerminalPilot.runtimeconfig.json
C:\Users\ponte\Documents\GitHub\terminalpilot\TerminalPilot\bin\Debug\net6.0\TerminalPilot.dll
C:\Users\ponte\Documents\GitHub\terminalpilot\TerminalPilot\bin\Debug\net6.0\ref\TerminalPilot.dll
C:\Users\ponte\Documents\GitHub\terminalpilot\TerminalPilot\bin\Debug\net6.0\TerminalPilot.pdb
C:\Users\ponte\Documents\GitHub\terminalpilot\TerminalPilot\bin\Debug\net6.0\Pastel.dll
C:\Users\ponte\Documents\GitHub\terminalpilot\TerminalPilot\obj\Debug\net6.0\TerminalPilot.csproj.AssemblyReference.cache
C:\Users\ponte\Documents\GitHub\terminalpilot\TerminalPilot\obj\Debug\net6.0\TerminalPilot.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\ponte\Documents\GitHub\terminalpilot\TerminalPilot\obj\Debug\net6.0\TerminalPilot.AssemblyInfoInputs.cache
C:\Users\ponte\Documents\GitHub\terminalpilot\TerminalPilot\obj\Debug\net6.0\TerminalPilot.AssemblyInfo.cs
C:\Users\ponte\Documents\GitHub\terminalpilot\TerminalPilot\obj\Debug\net6.0\TerminalPilot.csproj.CoreCompileInputs.cache
C:\Users\ponte\Documents\GitHub\terminalpilot\TerminalPilot\obj\Debug\net6.0\TerminalPilot.csproj.CopyComplete
C:\Users\ponte\Documents\GitHub\terminalpilot\TerminalPilot\obj\Debug\net6.0\TerminalPilot.dll
C:\Users\ponte\Documents\GitHub\terminalpilot\TerminalPilot\obj\Debug\net6.0\ref\TerminalPilot.dll
C:\Users\ponte\Documents\GitHub\terminalpilot\TerminalPilot\obj\Debug\net6.0\TerminalPilot.pdb
C:\Users\ponte\Documents\GitHub\terminalpilot\TerminalPilot\obj\Debug\net6.0\TerminalPilot.genruntimeconfig.cache
Binary file modified TerminalPilot/obj/Debug/net6.0/TerminalPilot.dll
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6051199cecf6b67e3063062ac14cf1aa892e1174
974b218c1af8650bb74c909c8c65571f95f2ce75
Binary file modified TerminalPilot/obj/Debug/net6.0/TerminalPilot.pdb
Binary file not shown.
Binary file modified TerminalPilot/obj/Debug/net6.0/ref/TerminalPilot.dll
Binary file not shown.

0 comments on commit 7754bc0

Please sign in to comment.