1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 10:19:35 +02:00

Introduce CustomPage command

This commit is contained in:
Chocobozzz 2021-07-06 09:55:05 +02:00
parent 329619b345
commit e8bd7ce7cc
No known key found for this signature in database
GPG key ID: 583A612D890159BE
9 changed files with 89 additions and 62 deletions

View file

@ -1,7 +1,7 @@
import { exec } from 'child_process'
import { AbstractCommand } from '../shared'
class CLICommand extends AbstractCommand {
export class CLICommand extends AbstractCommand {
static exec (command: string) {
return new Promise<string>((res, rej) => {
@ -21,7 +21,3 @@ class CLICommand extends AbstractCommand {
return CLICommand.exec(`${this.getEnv()} ${command}`)
}
}
export {
CLICommand
}