19 lines
496 B
TypeScript
19 lines
496 B
TypeScript
import * as plugins from './szci.plugins.ts';
|
|
import * as paths from './szci.paths.ts';
|
|
import { logger } from './szci.logging.ts';
|
|
import { Szci } from './szci.classes.szci.ts';
|
|
import denoConfig from '../deno.json' with { type: 'json' };
|
|
|
|
export class SzciInfo {
|
|
public szciRef: Szci;
|
|
public version = denoConfig.version;
|
|
|
|
constructor(szciArg: Szci) {
|
|
this.szciRef = szciArg;
|
|
}
|
|
|
|
public async printToConsole() {
|
|
await logger.log('info', `szci version: ${this.version}`);
|
|
}
|
|
}
|