@qodalis/angular-cli
Version:
A lightweight and flexible command-line interface (CLI) tool designed to streamline workflows and automate tasks for developers.
31 lines (30 loc) • 1.16 kB
TypeScript
import { ICliExecutionContext } from '@qodalis/cli-core';
import * as i0 from "@angular/core";
/**
* Service that displays the welcome message to the user.
*/
export declare class CliWelcomeMessageService {
/**
* Displays the welcome message to the user.
* @param context
* @returns void
*/
displayWelcomeMessage(context: ICliExecutionContext): void;
/**
* Determines if the welcome message should be displayed based on the show option.
* @param showOption - The show option from the config.
* @returns true if the message should be displayed, false otherwise.
*/
private shouldDisplayWelcomeMessage;
/**
* Records the current time as the last display time for the welcome message.
*/
private recordWelcomeMessageDisplay;
/**
* Retrieves the last display time of the welcome message.
* @returns The ISO string of the last display time or null if not recorded.
*/
private getLastWelcomeMessageDisplayTime;
static ɵfac: i0.ɵɵFactoryDeclaration<CliWelcomeMessageService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<CliWelcomeMessageService>;
}