netstorage
Version:
A TypeScript API and CLI for the Akamai NetStorage REST interface
24 lines (23 loc) • 680 B
TypeScript
import { Command } from 'commander';
import { stat, dir, createLogger, du, rmdir, mkdir, rm } from '../../index';
declare const operations: {
stat: typeof stat;
dir: typeof dir;
du: typeof du;
rm: typeof rm;
rmdir: typeof rmdir;
mkdir: typeof mkdir;
};
type InspectCommandName = keyof typeof operations;
interface RemotePathCommandOptions {
name: InspectCommandName;
description: string;
examplePath: string;
logger: ReturnType<typeof createLogger>;
remotePathArg?: {
required?: boolean;
description?: string;
};
}
export declare function createRemotePathCommand(opts: RemotePathCommandOptions): Command;
export {};