Skip to Content
Pulpfixer 2
DocumentationAPI ReferenceTypesServicesClassesClass: abstract AbstractService

pulpfixer v1.4.21


Class: abstract AbstractService

Abstract service class

Implements

Constructors

new AbstractService()

new AbstractService(): AbstractService

Returns

AbstractService

Properties

name

abstract readonly name: string

Implementation of

IService.name


description?

abstract readonly optional description: string

Implementation of

IService.description


usage?

abstract readonly optional usage: string

Implementation of

IService.usage

Methods

help()

help(usage?): void

Print help message

Parameters

usage?

string

Usage message

Returns

void


register()?

optional register(): void

Register service

Returns

void

Implementation of

IService.register


run()

abstract run(args): void

Run service

Parameters

args

string[]

Arguments

Returns

void

Implementation of

IService.run

Last updated on