@flowscripter/dynamic-cli-framework
    Preparing search index...

    Function createBannerStartupTask

    • Build the ascii banner StartupTask, replacing the old BannerServiceProvider.

      A consumer opts in by passing the result of this function in the serviceProviders array argument of launchMultiCommandCLI/launchSingleCommandCLI (or via BaseCLI.addStartupTask), the same way new BannerServiceProvider(priority) used to be passed in that array - there's no default/automatic banner registration.

      Parameters

      • priority: number

        the priority of the task (higher runs earlier - the same semantics BannerServiceProvider.servicePriority had).

      • fontName: string = "standard"

        an optional FIGlet font name to use for the banner, defaults to "standard".

      Returns StartupTask