"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DoctorNamespace = void 0; const namespace_1 = require("../../lib/namespace"); class DoctorNamespace extends namespace_1.Namespace { async getMetadata() { return { name: 'doctor', summary: 'Commands for checking the health of your Ionic project', }; } async getCommands() { return new namespace_1.CommandMap([ ['check', async () => { const { DoctorCheckCommand } = await Promise.resolve().then(() => require('./check')); return new DoctorCheckCommand(this); }], ['treat', async () => { const { DoctorTreatCommand } = await Promise.resolve().then(() => require('./treat')); return new DoctorTreatCommand(this); }], ['list', async () => { const { DoctorListCommand } = await Promise.resolve().then(() => require('./list')); return new DoctorListCommand(this); }], ['ls', 'list'], ['checkup', 'check'], ['validate', 'check'], ['fix', 'treat'], ]); } } exports.DoctorNamespace = DoctorNamespace;
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
base.d.ts | File | 340 B | 0644 |
|
base.js | File | 2.82 KB | 0644 |
|
check.d.ts | File | 441 B | 0644 |
|
check.js | File | 3.19 KB | 0644 |
|
index.d.ts | File | 244 B | 0644 |
|
index.js | File | 1.11 KB | 0644 |
|
list.d.ts | File | 322 B | 0644 |
|
list.js | File | 2.34 KB | 0644 |
|
treat.d.ts | File | 499 B | 0644 |
|
treat.js | File | 6.01 KB | 0644 |
|