@sentzunhat/zacatl
Version:
A modular, high-performance TypeScript microservice framework for Node.js, featuring layered architecture, dependency injection, and robust validation for building scalable APIs and distributed systems.
35 lines • 1.43 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CLI = void 0;
const error_1 = require("../../../error/index.js");
class CLI {
name;
version;
constructor(config) {
this.name = config.name;
this.version = config.version;
}
async registerEntrypoints(_entryPoints) {
throw new error_1.InternalServerError({
message: `CLI entrypoint registration for '${this.name}' is not yet implemented`,
reason: 'ServiceType.CLI command registration and routing are not implemented. ' +
'This feature is planned for v0.1.0. Use ServiceType.SERVER for HTTP-based services.',
component: 'CLI',
operation: 'registerEntrypoints',
metadata: { name: this.name, version: this.version },
});
}
async start(_input) {
throw new error_1.InternalServerError({
message: `CLI platform '${this.name}' is not yet implemented`,
reason: 'ServiceType.CLI is declared but CLI command routing and argument parsing are not implemented. ' +
'This feature is planned for v0.1.0. Use ServiceType.SERVER for HTTP-based services.',
component: 'CLI',
operation: 'start',
metadata: { name: this.name, version: this.version },
});
}
async stop() { }
}
exports.CLI = CLI;
//# sourceMappingURL=cli.js.map