PowerCMD is a command execution library that can be used as a base for developer consoles, or even programming languages.
- Command registry functionality in the
Registry
class.
Registry.Register("CMD", new Action<string>(CMDFunc).Method);
Registry.IsRegistered("CMD");
- Command parsing using the
Parser
class.
Parser.Parse("CMD `Hello!`", ExecutionSystem);
- Direct command execution using the
ExecutionSystem
class.
ExecutionSystem.Execute("CMD", "Hello!");
- Command invocation using a
Command
instance.
Command CMDInstance = Registry.IsRegistered("CMD");
CMDInstance.Execute("Hello!");
- Simple,
Documented(not yet) API. - Designed with modularity in mind.