Container for parsed command line arguments
Stores file paths and options extracted from command line, with automatic memory management for string allocations.
| 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 |
Memory cleanup
Clean up CLI args
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cli_args_type), | intent(inout) | :: | this |
type :: cli_args_type !! Container for parsed command line arguments !! !! Stores file paths and options extracted from command line, !! with automatic memory management for string allocations. character(len=:), allocatable :: xyz_file !! Input XYZ geometry file path character(len=:), allocatable :: basis_name !! Basis set name (e.g., "6-31G") contains procedure :: destroy => cli_args_destroy !! Memory cleanup end type cli_args_type