feat(cli): add cli (#3037)

* feat(bot): add cli

* refactor: move to discordeno package

* refactor(cli): blank state
This commit is contained in:
Jonathan Ho
2023-10-15 04:25:08 +00:00
committed by GitHub
parent 730ad9a3dc
commit 6a55a6ff6f
5 changed files with 26 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
import('../dist/bin/index.js')
+3 -1
View File
@@ -2,6 +2,7 @@
"name": "discordeno",
"version": "19.0.0-alpha.1",
"main": "./dist/index.js",
"bin": "./bin/disocrdeno.js",
"types": "./dist/index.d.ts",
"type": "module",
"license": "Apache-2.0",
@@ -27,7 +28,8 @@
"@discordeno/gateway": "19.0.0-alpha.1",
"@discordeno/rest": "19.0.0-alpha.1",
"@discordeno/types": "19.0.0-alpha.1",
"@discordeno/utils": "19.0.0-alpha.1"
"@discordeno/utils": "19.0.0-alpha.1",
"commander": "^11.0.0"
},
"devDependencies": {
"@swc/cli": "^0.1.62",
+11
View File
@@ -0,0 +1,11 @@
import { Command } from 'commander'
const program = new Command()
program.name('discordeno').description('CLI to discordeno utilities').version('0.1.0')
program
.command('generate')
.description('Generate types/schema for discordeno')
.action(() => {})
program.parse()