This repository has been archived on 2025-10-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
ESLegant/packages/cli/index.d.ts
Guz013 c061fdc8cd feat!: 💥 export cli api and remove configs array
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
2023-08-29 15:08:29 -03:00

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';