aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Frontend/Hacking
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-07-29 13:49:37 -0400
committerMichael <[email protected]>2017-07-29 13:49:44 -0400
commit3d22591f46a18ee3f585f169b34ccb5a0457e39f (patch)
treee3644a04539f96512e19ccdc10c3377578018a96 /ShiftOS.Frontend/Hacking
parentf31eff4566655bc9aff2e5efe4ac24ef941020f0 (diff)
downloadshiftos_thereturn-3d22591f46a18ee3f585f169b34ccb5a0457e39f.tar.gz
shiftos_thereturn-3d22591f46a18ee3f585f169b34ccb5a0457e39f.tar.bz2
shiftos_thereturn-3d22591f46a18ee3f585f169b34ccb5a0457e39f.zip
debug shell and clear metacmd
Diffstat (limited to 'ShiftOS.Frontend/Hacking')
-rw-r--r--ShiftOS.Frontend/Hacking/HackerTestCommands.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/ShiftOS.Frontend/Hacking/HackerTestCommands.cs b/ShiftOS.Frontend/Hacking/HackerTestCommands.cs
index 1b6a1c1..72c648e 100644
--- a/ShiftOS.Frontend/Hacking/HackerTestCommands.cs
+++ b/ShiftOS.Frontend/Hacking/HackerTestCommands.cs
@@ -10,6 +10,7 @@ namespace ShiftOS.Frontend
{
public static class HackerTestCommands
{
+ [ShellConstraint("shiftos_debug> ")]
[Command("lsports")]
public static void ListAllPorts()
{
@@ -19,6 +20,7 @@ namespace ShiftOS.Frontend
}
}
+ [ShellConstraint("shiftos_debug> ")]
[Command("describehackable")]
[RequiresArgument("id")]
public static void DescribeHackable(Dictionary<string, object> args)
@@ -41,6 +43,7 @@ namespace ShiftOS.Frontend
Console.WriteLine(hackable.WelcomeMessage);
}
+ [ShellConstraint("shiftos_debug> ")]
[Command("describeport")]
[RequiresArgument("id")]
public static void DescribePort(Dictionary<string, object> args)