diff options
| author | AShifter <[email protected]> | 2017-11-18 10:04:42 -0700 |
|---|---|---|
| committer | AShifter <[email protected]> | 2017-11-18 10:04:42 -0700 |
| commit | b4a8a646b1d0c67414a0e1eeedcf9442739fd990 (patch) | |
| tree | 92c92907a420f2bb97719f4fd6c19ac72e283b8d /ShiftOS.Main/Terminal/Commands | |
| parent | ebdc09fe679b4b06fd149c8fc6539244100ce896 (diff) | |
| parent | cc734557de877186c5f5eb1e59efdcb785ac37a8 (diff) | |
| download | shiftos-rewind-b4a8a646b1d0c67414a0e1eeedcf9442739fd990.tar.gz shiftos-rewind-b4a8a646b1d0c67414a0e1eeedcf9442739fd990.tar.bz2 shiftos-rewind-b4a8a646b1d0c67414a0e1eeedcf9442739fd990.zip | |
Merge remote-tracking branch 'refs/remotes/ShiftOS-Rewind/master'
Diffstat (limited to 'ShiftOS.Main/Terminal/Commands')
| -rw-r--r-- | ShiftOS.Main/Terminal/Commands/Hello.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ShiftOS.Main/Terminal/Commands/Hello.cs b/ShiftOS.Main/Terminal/Commands/Hello.cs new file mode 100644 index 0000000..a826532 --- /dev/null +++ b/ShiftOS.Main/Terminal/Commands/Hello.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections.Generic; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ShiftOS.Main.Terminal.Commands +{ + public class Hello : TerminalCommand + { + public override string Name { get; } = "Hello"; + public override string Summary { get; } = "Just an example command."; + public override string Usage { get; } = "Hello <NAME>."; + public override bool Unlocked { get; set; } = false; + + public override void Run(params string[] parameters) + { + string name = string.Join(" ", parameters); + WriteLine($"Oh, hello, {name}."); + } + } +} |
