Format standard input to standard output (or report it with --check / --diff), with
the configuration of the current directory, and return the exit status.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(cli_t), | intent(in) | :: | cli |
the parsed command line |
||
| type(config_cache_t), | intent(inout) | :: | cache |
configurations found so far |
integer function process_stdin(cli, cache) result(status) !! Format standard input to standard output (or report it with `--check` / `--diff`), with !! the configuration of the current directory, and return the exit status. type(cli_t), intent(in) :: cli !! the parsed command line type(config_cache_t), intent(inout) :: cache !! configurations found so far character(len=:), allocatable :: text call read_stdin(text) status = process_text(cli, cache, '<stdin>', '.', text, .true.) end function process_stdin