mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
feat(cli): ✨ Add new CLI commands, move to project root
This commit is contained in:
parent
68f16f9101
commit
fc06b35c09
21 changed files with 332 additions and 67 deletions
3
cli/bin/dev.cmd
Normal file
3
cli/bin/dev.cmd
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
@echo off
|
||||
|
||||
bun "%~dp0\dev" %*
|
||||
5
cli/bin/dev.ts
Executable file
5
cli/bin/dev.ts
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env -S bun
|
||||
|
||||
import { execute } from "@oclif/core";
|
||||
|
||||
await execute({ development: true, dir: import.meta.url });
|
||||
3
cli/bin/run.cmd
Normal file
3
cli/bin/run.cmd
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
@echo off
|
||||
|
||||
bun "%~dp0\run" %*
|
||||
5
cli/bin/run.ts
Executable file
5
cli/bin/run.ts
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bun
|
||||
|
||||
import { execute } from "@oclif/core";
|
||||
|
||||
await execute({ dir: import.meta.url });
|
||||
Loading…
Add table
Add a link
Reference in a new issue