@swell/cli
Version:
Swell's command line interface/utility
29 lines (28 loc) • 1.62 kB
TypeScript
import { InspectResourceCommand, InspectResourceCommandParsed } from '../../inspect-resource-command.js';
import { InspectScope } from '../../lib/apps/inspect-scope.js';
import { SettingRecord } from '../../lib/inspect/settings.js';
import { GroupInfo } from '../../lib/inspect/table.js';
export default class Settings extends InspectResourceCommand {
static summary: string;
static description: string;
static args: {
identifier: import("@oclif/core/lib/interfaces/parser.js").Arg<string | undefined, Record<string, unknown>>;
};
static flags: {
app: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
live: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
json: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
yes: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
};
static examples: string[];
protected resourceLabel: string;
protected resourceLabelSingular: string;
protected adminPath: string;
protected commandName: string;
run(): Promise<void>;
protected keyFor(record: SettingRecord, appSlugById: Record<string, string>): string;
protected groupForRecord(record: SettingRecord, appSlugById: Record<string, string>): GroupInfo;
protected filterListResults<T>(results: T[]): T[];
protected hints(record: SettingRecord): string[];
protected showDetail(identifier: string, _scope: InspectScope, flags: InspectResourceCommandParsed['flags']): Promise<void>;
}