summaryrefslogtreecommitdiff
path: root/DSACore/Auxiliary/CommandInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'DSACore/Auxiliary/CommandInfo.cs')
-rw-r--r--DSACore/Auxiliary/CommandInfo.cs32
1 files changed, 32 insertions, 0 deletions
diff --git a/DSACore/Auxiliary/CommandInfo.cs b/DSACore/Auxiliary/CommandInfo.cs
new file mode 100644
index 0000000..a83e30a
--- /dev/null
+++ b/DSACore/Auxiliary/CommandInfo.cs
@@ -0,0 +1,32 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace DSACore.Auxiliary
+{
+ public struct CommandInfo
+ {
+ public CommandInfo(string name, string brief, string[] description, string scope)
+ {
+ this.Name = name;
+ this.Scope = scope;
+ this.Brief = brief;
+ this.Description = description;
+ }
+
+ public string Name { get; }
+
+ public string Scope { get; }
+
+ public string Brief { get; }
+
+ public string[] Description { get; }
+
+ public string GetDescription()
+ {
+ return this.Description.Aggregate((s, c) => s + c);
+ }
+ }
+}