Click or drag to resize

CommandUtils Class

Provides utilities for the execution of commands.
Inheritance Hierarchy
SystemObject
  MicaSystems.Utils.CLICommandUtils

Namespace:  MicaSystems.Utils.CLI
Assembly:  MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax
C#
public static class CommandUtils

The CommandUtils type exposes the following members.

Methods
  NameDescription
Public methodStatic memberHandleCommand
Handles a command from the received arguments. The command is handled automaticaly if it asks for an help response. Else, the execution callback is called with the command object.
Public methodStatic memberPrintCommandHelp
Prints an help message containing information about a specified command.
Public methodStatic memberPrintCommandsDescription
Prints (in the console) the description of all commands found in the specified assembly.
Public methodStatic memberSplitStringInSpaces
Wraps the specified text on multiple texts, limited to the specified maximum length.
Top
See Also