Handles parsing of command line options including geometry files, basis set specifications, and help/usage display. Parsed command line arguments container Main argument parsing routine Display program usage information Standardize basis set names Locate basis set files
Container for parsed command line arguments
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| character(len=:), | public, | allocatable | :: | basis_name |
Basis set name (e.g., “6-31G”) |
||
| character(len=:), | public, | allocatable | :: | xyz_file |
Input XYZ geometry file path |
| procedure, public :: destroy => cli_args_destroy | Memory cleanup |
Parse command line arguments for geometry file and basis set
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(cli_args_type), | intent(out) | :: | args |
Parsed argument container |
||
| type(error_t), | intent(out) | :: | error |
Error object |
Print usage information
Clean up CLI args
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cli_args_type), | intent(inout) | :: | this |