About the creation of command-line tools
You can also use the SDK command framework to create new commands by extending the WSCommand class. This class provides common tools for processing command-line arguments, as well as information about command usage.
Several samples provided in the SDK use this framework. You can use them as templates for your own implementations.