]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/extra-utils/cli/cli.ts
Introduce CustomPage command
[github/Chocobozzz/PeerTube.git] / shared / extra-utils / cli / cli.ts
index 1bf100869017c19b9bf8cc398f622d8f425603ed..bc1dddc686120e051fdf86c01589655f29323386 100644 (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
-}