picgo
Version:
A tool for image uploading
14 lines (13 loc) • 617 B
TypeScript
import type { Command } from 'commander';
import type { IPicGo } from '../../../types';
interface ICloudImportOptions {
jsonFile?: string;
data?: string;
verbose?: boolean;
enableAutoImport?: boolean;
format?: string;
}
declare const applyCloudImportOptions: (cmd: Command) => Command;
declare const createCloudImportAction: (ctx: IPicGo) => (dbPath: string | undefined, options: ICloudImportOptions) => Promise<void>;
declare const registerCloudImportCommand: (ctx: IPicGo, parentCommand: Command) => void;
export { applyCloudImportOptions, createCloudImportAction, registerCloudImportCommand };