Fully assembled watcher configuration.
This record is the primary input to watcher_t%init().
Watcher options.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| character(len=:), | public, | allocatable | :: | cmd_prefix |
Cached remainder after the subcommand token (for injection). |
||
| character(len=:), | public, | allocatable | :: | cmd_rest | |||
| character(len=:), | public, | allocatable | :: | fpm_cmdline |
Selected |
||
| class(fpm_build_settings), | public, | allocatable | :: | settings |
Cached prefix up to and including the subcommand token (for injection). |
||
| character(len=:), | public, | allocatable | :: | subcmd |
Typed |
||
| type(watch_opts_t), | public | :: | w |
Full command line string to execute (e.g., |
type watch_config_t !! Watcher options. type(watch_opts_t) :: w !! Full command line string to execute (e.g., `fpm test -- ...`). character(len=:), allocatable :: fpm_cmdline !! Selected `fpm` subcommand (`build`, `test`, or `run`). character(len=:), allocatable :: subcmd !! Typed `fpm` settings corresponding to `subcmd`. class(fpm_build_settings), allocatable :: settings !! Cached prefix up to and including the subcommand token (for injection). character(len=:), allocatable :: cmd_prefix !! Cached remainder after the subcommand token (for injection). character(len=:), allocatable :: cmd_rest end type watch_config_t