From b737aa8ded0793855fe5e5f49c8967051bd11907 Mon Sep 17 00:00:00 2001 From: FloppyDiskDrive Date: Sat, 18 Nov 2017 12:29:15 -0600 Subject: new cmd and stuff --- ShiftOS.Main/Terminal/Commands/TestStory.cs | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 ShiftOS.Main/Terminal/Commands/TestStory.cs (limited to 'ShiftOS.Main/Terminal') diff --git a/ShiftOS.Main/Terminal/Commands/TestStory.cs b/ShiftOS.Main/Terminal/Commands/TestStory.cs new file mode 100644 index 0000000..379c7ca --- /dev/null +++ b/ShiftOS.Main/Terminal/Commands/TestStory.cs @@ -0,0 +1,26 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading; +using System.Threading.Tasks; + +namespace ShiftOS.Main.Terminal.Commands +{ + public class TestStory : TerminalCommand + { + public override string Name { get; } = "teststory"; + public override string Summary { get; } = "Debug Command - Test the intro"; + public override string Usage { get; } = "n/a"; + public override bool Unlocked { get; set; } = false; + + public override void Run(params string[] parameters) + { + WriteLine("Incoming connection..."); + Thread.Sleep(2000); + WriteLine("User set alias as \"DevX\"."); + Thread.Sleep(2000); + WriteLine("User has connected successfully!"); + } + } +} -- cgit v1.2.3