Initial commit: pokebuddy_cli

This commit is contained in:
Felipe Domingues 2026-04-25 23:14:38 -03:00
commit d58df9bd10
47 changed files with 1684 additions and 0 deletions

10
bin/pokebuddy.js Executable file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env node
import { run } from '../src/cli.js';
run(process.argv.slice(2)).catch((error) => {
console.error(`\nPokeBuddy crashed: ${error.message}\n`);
if (process.env.POKEBUDDY_DEBUG === '1') {
console.error(error.stack);
}
process.exit(1);
});