magnus-cli
Version:
Command line tool to pull and push source code files from a Rock RMS server
11 lines (10 loc) • 475 B
TypeScript
import { Ora } from 'ora';
export declare function pullPath(pullPath: string): Promise<void>;
/**
* Pull a file from Rock RMS and save it locally
* @param {string} serverFilePath - Path to the file on the server
* @param {Ora} spinner - Ora spinner
* @param {string | undefined} outputPath - Local path to save the file (optional)
* @returns {Promise<void>}
*/
export declare function pullFile(serverFilePath: string, spinner: Ora, outputPath?: string): Promise<void>;