Removed the configs array from the cli package, as it now is handled by the eslegant package. Exported the Cli class so it can be run by other packages BREAKING CHANGE
18 lines
403 B
TypeScript
18 lines
403 B
TypeScript
import type { CliArgs } from './src/types';
|
|
|
|
/**
|
|
* Class that handles the creation and running the ESLegant command line interface
|
|
*/
|
|
export default class Cli {
|
|
/**
|
|
* @param args Arguments to pass to the cli when its runs
|
|
*/
|
|
constructor(args: CliArgs);
|
|
/**
|
|
* Runs the cli with the given arguments
|
|
*/
|
|
async run(): Promise<void>;
|
|
}
|
|
|
|
export type { CliArgs, Config } from './src/types.d.ts';
|