Command abstract defining the implementation contract,
which all implementations should extend.
It also provides a layer of abstraction for ui and logger members.
@Command({
description: 'a useful command of some kind'
})
export MyCommand extends BaseCommand {
publicasync run(options: any) {
// ...
}
}
Command abstract defining the implementation contract, which all implementations should extend. It also provides a layer of abstraction for
uiandloggermembers.@Command({ description: 'a useful command of some kind' }) export MyCommand extends BaseCommand { public async run(options: any) { // ... } }