Add an executable for compare-entity CLI (#69)

This commit is contained in:
prathamesh0
2021-12-28 16:08:05 +05:30
committed by nabarun
parent c79647548e
commit 475c34b3fa
4 changed files with 16 additions and 10 deletions
@@ -27,7 +27,7 @@ interface Config {
queries: QueryConfig;
}
const main = async (): Promise<void> => {
export const main = async (): Promise<void> => {
const argv = await yargs.parserConfiguration({
'parse-numbers': false
}).options({
@@ -142,9 +142,3 @@ async function getClients (config: Config, queryDir?: string): Promise<{
client2
};
}
main().catch(err => {
console.log(err);
}).finally(() => {
process.exit(0);
});