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

    Function runWithCommandEventsForCommand

    • Runs the complete CLI lifecycle with the event presentation selected by its arguments.

      Type Parameters

      • TResult

      Parameters

      • argv: string[]

        The command arguments used to determine whether JSON output is enabled.

      • execute: () => TResult

        The command lifecycle to run.

      Returns TResult

      The result of the command lifecycle.