watch_banner Module

Console banner and watch-list reporting.

This module centralizes user-facing console output that is shown on startup and when printing the computed watch list. It is intentionally "UI-only": it does not compute any watch state, it only presents it.

Output is generally suppressed when w%verbosity < 0 (quiet mode).


Uses

  • module~~watch_banner~~UsesGraph module~watch_banner watch_banner face face module~watch_banner->face fpm_command_line fpm_command_line module~watch_banner->fpm_command_line fpm_strings fpm_strings module~watch_banner->fpm_strings iso_fortran_env iso_fortran_env module~watch_banner->iso_fortran_env module~watch_types watch_types module~watch_banner->module~watch_types module~watch_util watch_util module~watch_banner->module~watch_util module~watch_types->fpm_command_line module~watch_types->fpm_strings module~watch_types->iso_fortran_env module~watch_util->fpm_strings

Used by

  • module~~watch_banner~~UsedByGraph module~watch_banner watch_banner module~watch_engine watch_engine module~watch_engine->module~watch_banner

Functions

private pure function active_features(settings) result(f)

Return a comma-separated feature list for banner display.

Arguments

Type IntentOptional Attributes Name
class(fpm_build_settings), intent(in) :: settings

Return Value character(len=:), allocatable

private pure function active_profile(settings) result(p)

Return the active build profile for banner display.

Arguments

Type IntentOptional Attributes Name
class(fpm_build_settings), intent(in) :: settings

Return Value character(len=:), allocatable

private pure function command_mode(settings) result(mode)

Derive a human-readable mode label from fpm settings.

Read more…

Arguments

Type IntentOptional Attributes Name
class(fpm_build_settings), intent(in) :: settings

Return Value character(len=:), allocatable


Subroutines

public subroutine print_banner(full_cmdline, settings, w, files, build_secs, roots_count, secs_model, secs_targets, secs_watch)

Print the startup banner and an initialization timing summary.

Read more…

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: full_cmdline
class(fpm_build_settings), intent(in) :: settings
type(watch_opts_t), intent(in) :: w
type(string_t), intent(in), allocatable :: files(:)
real, intent(in) :: build_secs
integer, intent(in) :: roots_count
real, intent(in) :: secs_model
real, intent(in) :: secs_targets
real, intent(in) :: secs_watch

public subroutine print_file_list(files, w)

Print the computed watch list (limited output).

Read more…

Arguments

Type IntentOptional Attributes Name
type(string_t), intent(in), allocatable :: files(:)
type(watch_opts_t), intent(in) :: w