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

    Function sniffForJson

    • Returns whether the --json or -j flags are present in the arguments.

      Parameters

      • argv: string[] = process.argv

        The arguments to search for the --json and -j flags.

      Returns boolean

      Whether the --json or -j flag is present in the arguments.