BREAKING CHANGE(szci): Rename project from npmci to szci and migrate runtime to Deno; add compiled binaries, installer and wrapper; update imports, env handling and package metadata
This commit is contained in:
18
ts/szci.classes.szciinfo.ts
Normal file
18
ts/szci.classes.szciinfo.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
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}`);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user