picgo
Version:
A tool for image uploading
19 lines (18 loc) • 695 B
TypeScript
import type { Command } from 'commander';
import { type IPicGo } from '../../../types';
interface CloudListOptions {
contentType?: string;
type?: string;
ext?: string;
search?: string;
fileName?: string;
limit?: string;
offset?: string;
sort?: 'newest' | 'oldest' | 'fileName';
order?: 'asc' | 'desc';
format?: string;
}
declare const applyCloudListOptions: (cmd: Command) => Command;
declare const createCloudListAction: (ctx: IPicGo) => (options: CloudListOptions) => Promise<void>;
declare const registerCloudListCommand: (ctx: IPicGo, parentCommand: Command) => void;
export { applyCloudListOptions, createCloudListAction, registerCloudListCommand };