summaryrefslogtreecommitdiff
path: root/ConsoleApp/Command.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ConsoleApp/Command.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/ConsoleApp/Command.cs b/ConsoleApp/Command.cs
new file mode 100644
index 0000000..dcb6def
--- /dev/null
+++ b/ConsoleApp/Command.cs
@@ -0,0 +1,15 @@
+using System;
+namespace ConsoleApp {
+ public abstract class Command {
+ public readonly string Description;
+
+ public Command(string description) {
+ Description = description;
+ }
+
+
+ public abstract void Execute(string[] args);
+ public abstract string GetHelp(string[] args);
+ }
+}
+