std.argopt Package

Function Description

The argopt package provides the capability of parsing parameter names and values from command line parameter strings.

Command line parameters are passed to a program in the command line and are used to specify the configuration or behavior of the program. For example, a command-line program may have a parameter to specify the name of the file to be processed, or a parameter to specify the database to be used. These parameters are usually parsed and passed to the code of the program so that the program can correctly execute its functions based on these parameters.

Command line parameters are classified into short and long command line parameters, which differ in their length and readability. A short command line parameter usually consists of a single letter and is easy to remember. A long command line parameter usually consists of one or more words and is easy to understand.

API List

Class

NameDescription
ArgOptArgopt is used to parse command line parameters and obtain parsing results.