mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
feat(cli): add cli (#3037)
* feat(bot): add cli * refactor: move to discordeno package * refactor(cli): blank state
This commit is contained in:
@@ -0,0 +1 @@
|
||||
import('../dist/bin/index.js')
|
||||
@@ -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",
|
||||
|
||||
@@ -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()
|
||||
Reference in New Issue
Block a user