Check if a CLAs group has been run.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(command_line_interface), | intent(in) | :: | self |
CLI data. |
||
character(len=*), | intent(in) | :: | group |
Name of group (command) of CLAs. |
Check if a CLAs group has been runned.
function is_called_group(self, group) result(called) !< Check if a CLAs group has been run. class(command_line_interface), intent(in) :: self !< CLI data. character(*), intent(in) :: group !< Name of group (command) of CLAs. logical :: called !< Check if a CLAs group has been runned. integer(I4P) :: g !< Counter. called = .false. if (self%is_defined_group(group=group, g=g)) called = self%clasg(g)%is_called endfunction is_called_group