Files
stats/packages/cli/src/cli.ts
Carl-Gerhard Lindesvärd bf0c14cc88 wip
2024-07-21 23:55:04 +02:00

25 lines
293 B
TypeScript

import arg from 'arg';
import importer from './importer';
function cli() {
const args = arg(
{
'--help': Boolean,
},
{
permissive: true,
}
);
const [command] = args._;
switch (command) {
case 'import': {
return importer();
}
}
}
cli();