@code-pushup/cli
Version:
A CLI to run all kinds of code quality measurements to align your team with company goals
10 lines (9 loc) • 870 B
TypeScript
import { type CacheConfig, type CacheConfigObject, type CoreConfig, type Format } from '@code-pushup/models';
import type { CoreConfigCliOptions } from './core-config.model.js';
import type { FilterOptions } from './filter.model.js';
import type { GeneralCliOptions } from './global.model.js';
export type CoreConfigMiddlewareOptions = GeneralCliOptions & CoreConfigCliOptions & FilterOptions;
export declare function coreConfigMiddleware<T extends CoreConfigMiddlewareOptions>(processArgs: T): Promise<GeneralCliOptions & CoreConfig & FilterOptions>;
export declare const normalizeBooleanWithNegation: <T extends string>(propertyName: T, cliOptions?: Record<T, unknown>, rcOptions?: Record<T, unknown>) => boolean;
export declare const normalizeCache: (cache?: CacheConfig) => CacheConfigObject;
export declare const normalizeFormats: (formats?: string[]) => Format[];