@sasjs/cli
Version:
Command line interface for SASjs
16 lines (15 loc) • 840 B
TypeScript
import { AuthConfig, Target } from '@sasjs/utils';
import SASjs from '@sasjs/adapter/node';
/**
* Triggers existing job for execution on SASJS server.
* @param {object} sasjs - configuration object of SAS adapter.
* @param target - SASJS server configuration.
* @param jobPath - location of the job.
* @param logFile - flag indicating if CLI should fetch and save log to provided file path. If filepath wasn't provided, {job}.log file will be created in current folder.
* @param output - flag indicating if CLI should save output to provided file path.
* @returns - promise that resolves into an object with log and output.
*/
export declare function executeJobSasjs(sasjs: SASjs, target: Target, jobPath: string, logFile?: string, output?: string, authConfig?: AuthConfig): Promise<{
result: any;
log: any;
} | undefined>;