mirror of
https://github.com/domfelipe/pokebuddy.git
synced 2026-08-07 09:16:43 +00:00
Initial commit: pokebuddy_cli
This commit is contained in:
commit
d58df9bd10
47 changed files with 1684 additions and 0 deletions
10
bin/pokebuddy.js
Executable file
10
bin/pokebuddy.js
Executable 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);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue