aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Engine/Terminal/Commands
diff options
context:
space:
mode:
authorJohn T <[email protected]>2017-11-05 18:47:46 -0500
committerJohn T <[email protected]>2017-11-05 18:47:46 -0500
commita10440a45c40652b13e883aec832a0c8ded685e8 (patch)
treeab64311e47f8e59c7c46cd50c94bec424165ecc2 /ShiftOS.Engine/Terminal/Commands
parent019da5b9ebf67b758a31dd05c4b17de66fa682f2 (diff)
downloadshiftos-rewind-a10440a45c40652b13e883aec832a0c8ded685e8.tar.gz
shiftos-rewind-a10440a45c40652b13e883aec832a0c8ded685e8.tar.bz2
shiftos-rewind-a10440a45c40652b13e883aec832a0c8ded685e8.zip
Added a half-complete ShiftFS and did some code cleanup
Diffstat (limited to 'ShiftOS.Engine/Terminal/Commands')
-rw-r--r--ShiftOS.Engine/Terminal/Commands/Hello.cs26
1 files changed, 7 insertions, 19 deletions
diff --git a/ShiftOS.Engine/Terminal/Commands/Hello.cs b/ShiftOS.Engine/Terminal/Commands/Hello.cs
index 531bd1f..7d4b82f 100644
--- a/ShiftOS.Engine/Terminal/Commands/Hello.cs
+++ b/ShiftOS.Engine/Terminal/Commands/Hello.cs
@@ -1,21 +1,9 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace ShiftOS.Engine.Terminal.Commands
+namespace ShiftOS.Engine.Terminal.Commands
{
- public class Hello : TerminalCommand
- {
- public override string GetName()
- {
- return "Hello";
- }
+ public class Hello : TerminalCommand
+ {
+ public override string GetName() => "Hello";
- public override string Run(params string[] parameters)
- {
- return "Oh, HELLO, " + String.Join(" ", parameters);
- }
- }
-}
+ public override string Run(params string[] parameters) => "Oh, HELLO, " + string.Join(" ", parameters);
+ }
+} \ No newline at end of file