Magek Framework
    Preparing search index...

    Function runCommand

    • Synchronously run a CLI command and return the stdout, optionally printing the logs and error messages

      Parameters

      • path: string
      • command: string
      • ignoreLogs: boolean = false

      Returns Promise<string>