UNPKG

@grnsft/if

Version:

Impact Framework

10 lines (9 loc) 464 B
import { ProcessArgsOutputs } from '../types/process-args'; /** * 1. Parses process arguments for `if-run`. * 2. If output params are missing, warns user about it. * 3. Otherwise checks if `manifest` param is there, then processes with checking if it's a yaml file. * If it is, then returns object containing full path. * 4. If params are missing or invalid, runs `--help` command. */ export declare const parseIfRunProcessArgs: () => ProcessArgsOutputs;