refactor(cli): remove standalone cli subcommands
This commit is contained in:
parent
3e128cf80d
commit
b523a38362
|
@ -56,11 +56,3 @@ export const cmd = new Command()
|
|||
await send(mail)
|
||||
},
|
||||
)
|
||||
|
||||
if (import.meta.main) {
|
||||
if (Deno.args.length) {
|
||||
cmd.parse(Deno.args)
|
||||
} else {
|
||||
cmd.showHelp()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue