Added command plugin documentation and renamed subCommands to commands in api command code
This commit is contained in:
@@ -7,11 +7,11 @@ public partial class MycroForge
|
||||
{
|
||||
public partial class Api : Command, ISubCommandOf<MycroForge>
|
||||
{
|
||||
public Api(IEnumerable<ISubCommandOf<Api>> subCommands) :
|
||||
public Api(IEnumerable<ISubCommandOf<Api>> commands) :
|
||||
base("api", "API related commands")
|
||||
{
|
||||
foreach (var subCommandOf in subCommands)
|
||||
AddCommand((subCommandOf as Command)!);
|
||||
foreach (var command in commands)
|
||||
AddCommand((command as Command)!);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user