@shopify/cli
Version:
A CLI tool to build for the Shopify platform
2 lines (1 loc) • 570 B
JavaScript
import{d as l}from"./chunk-K6CTUBFC.js";import{a as i,h as m,i as d,j as f,m as w}from"./chunk-XITQULK4.js";import{c as t}from"./chunk-QFWIDATO.js";import{F as n}from"./chunk-6G6TMKXF.js";import{g as a}from"./chunk-VPRTJUIN.js";a();async function h(o,r){i()||w({store:r});let e=o??m()??await P(["Enter your",{link:{label:"store password",url:t(r)}}]),s=!1;for(;!await l(e,r);)s||(f(),s=!0),e=await P(["Incorrect",{link:{label:"store password",url:t(r)}},{char:"."},"Please try again"]);return d(e),e}async function P(o){return n({message:o,password:!0})}export{h as a};