@swell/cli
Version:
Swell's command line interface/utility
35 lines (34 loc) • 1.37 kB
TypeScript
import { InspectResourceCommand } from '../../inspect-resource-command.js';
interface WebhookRecord {
id?: string;
alias?: string | null;
enabled?: boolean;
auto_disabled?: boolean;
events?: string[];
attempts_failed?: number;
date_final_attempt?: string;
app_id?: string;
}
export default class Webhooks 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;
protected nameField: string;
run(): Promise<void>;
protected metaFor(r: WebhookRecord): string | undefined;
protected hints(record: WebhookRecord): string[];
}
export {};