UNPKG

camera.ui

Version:
45 lines 1.35 kB
export class BasePlatform { cli; constructor(cli) { this.cli = cli; } async install() { this.cli.logger('This command has not been implemented on this platform.', 'fail'); process.exit(0); } async uninstall() { this.cli.logger('This command has not been implemented on this platform.', 'fail'); process.exit(0); } async reinstall() { this.cli.logger('This command has not been implemented on this platform.', 'fail'); process.exit(0); } async start() { this.cli.logger('This command has not been implemented on this platform.', 'fail'); process.exit(0); } async stop() { this.cli.logger('This command has not been implemented on this platform.', 'fail'); process.exit(0); } async restart() { this.cli.logger('This command has not been implemented on this platform.', 'fail'); process.exit(0); } async beforeStart() { this.cli.logger('This command has not been implemented on this platform.', 'fail'); process.exit(0); } async getId() { return { uid: 0, gid: 0, }; } // eslint-disable-next-line @typescript-eslint/no-unused-vars getPidOfPort(port) { return null; } } //# sourceMappingURL=base.js.map