@shopify/cli-kit
    Preparing search index...

    Function captureOutput

    • Runs a command asynchronously, aggregates the stdout data, and returns it.

      Parameters

      • command: string

        Command to be executed.

      • args: string[]

        Arguments to pass to the command.

      • Optionaloptions: ExecOptions

        Optional settings for how to run the command.

      Returns Promise<string>

      A promise that resolves with the aggregatted stdout of the command.