Build and parse test cli.
subroutine cli_parse()
!< Build and parse test cli.
type(command_line_interface) :: cli !< Test command line interface.
integer(I4P) :: error !< Error trapping flag.
call cli%init(progname='finer_test_load', &
authors='S. Zaghi', &
help='Usage: ', &
examples=["finer_test_load --ini test.ini"], &
epilog=new_line('a')//"all done")
call cli%add(switch='--ini', &
switch_ab='-i', &
help='name of ini file', &
required=.true., &
act='store')
call cli%parse(error=error) ; if (error/=0) stop
call cli%get(switch='--ini', val=file_name)
endsubroutine cli_parse