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:
parent
329619b345
commit
e8bd7ce7cc
9 changed files with 89 additions and 62 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue