@quenty/cli-output-helpers
Version:
Helpers to generate Nevermore package and game templates
19 lines • 636 B
JavaScript
/**
* Generic batch job reporting framework.
*
* Jobs progress through phases (building → uploading → scheduling → executing)
* and end in a terminal state (passed / failed).
*/
/**
* Base class with no-op defaults for all lifecycle hooks.
* Reporters extend this and only override the methods they need.
*/
export class BaseReporter {
async startAsync() { }
onPackageStart(_packageName) { }
onPackagePhaseChange(_packageName, _phase) { }
onPackageProgressUpdate(_packageName, _progress) { }
onPackageResult(_result, _bufferedOutput) { }
async stopAsync() { }
}
//# sourceMappingURL=reporter.js.map