Command Line Utility Version 1.0
STATUS KEY : Specification Design and Architecture Development and Testing Complete
Simplifies the process of providing and parsing switches for command line executables.
The Command Line Utility component simplifies the process of providing and parsing switches for command line executables. A switch is defined as an additional argument to a program or script that provides additional processing rules at runtime to give the user more flexibility and control. This component defines interfaces to easily define the list of allowable switches, to parse the switches at runtime and to validate additional arguments.
An example of where switches are used is in the csc compiler. Typing "csc -help" on the command line will yield the list of accepted switches. These switches allow configuration of runtime properties, for example, configuration of the references.
Adobe Acrobat is required to view TopCoder Software specification documentation.
Aggregated ScorecardAggregated Design Scorecard
Component SpecificationComponent Specification
Requirements SpecificationRequirements Specification
Sequence DiagramDefine and Parse
Get Available Switches
Validate Input String
Use Case DiagramMain