wip importer

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-07-09 16:13:46 +02:00
committed by Carl-Gerhard Lindesvärd
parent ba381636a0
commit da856152c7
12 changed files with 829 additions and 2 deletions

26
packages/cli/src/cli.ts Normal file
View File

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