UNPKG

@ipp/cli

Version:

An image build orchestrator for the modern web

18 lines (17 loc) 656 B
/** * Image Processing Pipeline - Copyright (c) Marcus Cemes * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ export interface Args { input?: string; output?: string; config?: string; text?: boolean; } /** Parse args using Yargs, check that all flags are valid and return the args */ export declare function parseArgs(): Promise<Args>; /** Check that all flags appear in the options schema */ export declare function validateArgs(args: Args): void; export declare const createDidYouMeanMessage: (unrecognised: string, allowedOptions: string[]) => string;