Return whether a given subcommand token is supported by fpm-watch.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | s |
pure logical function is_supported_subcmd(s) result(ok) character(len=*), intent(in) :: s ok = (trim(s) == "build") .or. (trim(s) == "test") .or. (trim(s) == "run") end function is_supported_subcmd