diff --git a/src/index.ts b/src/index.ts index c8b3620..46a9280 100644 --- a/src/index.ts +++ b/src/index.ts @@ -65,5 +65,14 @@ const argv = yargs(hideBin(process.argv)) default: 'config/nsecbunker.json', }, }) - .demandCommand(0, 1) .parse(); + +// Check if a command is provided, if not, default to 'start' +if (!argv._[0]) { + start({ + keys: [], + verbose: false, + config: argv.config as string, + adminNpubs: adminNpubs + }); +} \ No newline at end of file