feat(cli): ♻️ Begin new CLI rewrite with oclif

This commit is contained in:
Jesse Wierzbinski 2024-05-07 07:41:02 +00:00
parent 7b05a34cce
commit 06c30b8af2
No known key found for this signature in database
21 changed files with 569 additions and 11 deletions

3
packages/cli/bin/dev.cmd Normal file
View file

@ -0,0 +1,3 @@
@echo off
bun "%~dp0\dev" %*

5
packages/cli/bin/dev.ts Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env -S bun
import { execute } from "@oclif/core";
await execute({ development: true, dir: import.meta.url });

3
packages/cli/bin/run.cmd Normal file
View file

@ -0,0 +1,3 @@
@echo off
bun "%~dp0\run" %*

5
packages/cli/bin/run.ts Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env bun
import { execute } from "@oclif/core";
await execute({ dir: import.meta.url });