shopify 4.9.5 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analytics-RSUIYNLC.js +1 -0
- package/dist/analytics-V2SDYXQJ.js +1 -0
- package/dist/assets/hydrogen/starter/CHANGELOG.md +7 -0
- package/dist/assets/hydrogen/starter/package.json +2 -2
- package/dist/assets/hydrogen/vite/package.json +3 -4
- package/dist/assets/hydrogen/vite/vite.config.js +3 -3
- package/dist/bootstrap.js +1 -1
- package/dist/chunk-2AW3KBTP.js +1 -0
- package/dist/{chunk-S6A7TMR4.js → chunk-2CJQQQW4.js} +1 -1
- package/dist/{chunk-7LB6DPB6.js → chunk-2M4BKFYF.js} +1 -1
- package/dist/chunk-2M535QQJ.js +6 -0
- package/dist/chunk-2NZ7GDDR.js +2 -0
- package/dist/{chunk-QUO4RD3W.js → chunk-2QQ7EBJD.js} +1 -1
- package/dist/chunk-2RFCYZMG.js +47 -0
- package/dist/chunk-2S5NPJEJ.js +5 -0
- package/dist/chunk-2TPLPZA2.js +3 -0
- package/dist/{chunk-ANG44FIF.js → chunk-2YGPWG3I.js} +1 -1
- package/dist/chunk-32O27NE3.js +1 -0
- package/dist/chunk-335BUVBP.js +1 -0
- package/dist/{chunk-MZL6VM3W.js → chunk-364BVGRY.js} +1 -1
- package/dist/{chunk-4VS7YD53.js → chunk-36TZ447N.js} +1 -1
- package/dist/chunk-37P5YOP2.js +7 -0
- package/dist/chunk-3G2PEYPI.js +2 -0
- package/dist/{chunk-2II4W4ZF.js → chunk-3JACWBUC.js} +1 -1
- package/dist/chunk-43HKFLOU.js +3 -0
- package/dist/chunk-46JYM3GH.js +1 -0
- package/dist/chunk-4EDE3UH7.js +18 -0
- package/dist/{chunk-ND6O6KT6.js → chunk-4GQEXVDT.js} +1 -1
- package/dist/{chunk-5XTJ4OL4.js → chunk-4IUXLUFD.js} +1 -1
- package/dist/chunk-4QZ6OBXL.js +4 -0
- package/dist/{chunk-XVFQ6CNO.js → chunk-4SDCXKYR.js} +9 -6
- package/dist/chunk-56GKTWFF.js +5 -0
- package/dist/chunk-5AQ5JT2V.js +7 -0
- package/dist/{chunk-SUTVPAJF.js → chunk-5AWELO3D.js} +1 -1
- package/dist/{chunk-LD6ZCTZ3.js → chunk-5B76DT7X.js} +1 -1
- package/dist/chunk-5D4FNAAD.js +3 -0
- package/dist/chunk-5TWYJQQO.js +1 -0
- package/dist/{chunk-3XAD2E55.js → chunk-5XOEMYEQ.js} +1 -1
- package/dist/chunk-5YUDEPEY.js +1 -0
- package/dist/chunk-5YXYYQBX.js +1 -0
- package/dist/chunk-63UKZLPC.js +1 -0
- package/dist/chunk-6JZC6UKY.js +20 -0
- package/dist/chunk-6PUU6ZNQ.js +1 -0
- package/dist/chunk-6Y6A2QGK.js +3 -0
- package/dist/chunk-75LAVRRL.js +274 -0
- package/dist/chunk-7AWAOPLA.js +1 -0
- package/dist/chunk-7GHSE7SG.js +1 -0
- package/dist/{chunk-CEQ5S3HH.js → chunk-7NYCJG2U.js} +1 -1
- package/dist/chunk-7U2MTK6I.js +1 -0
- package/dist/{chunk-NHE46R6C.js → chunk-7XAEI4XT.js} +1 -1
- package/dist/chunk-7Y7AZRL3.js +10 -0
- package/dist/chunk-A7LBGXWG.js +1 -0
- package/dist/{chunk-SEXH4EP5.js → chunk-ACA2BGAD.js} +1 -1
- package/dist/chunk-ADVLRSSO.js +1 -0
- package/dist/chunk-AIEVQSI3.js +1 -0
- package/dist/chunk-AOBE6HN6.js +31 -0
- package/dist/chunk-AQ34X5B3.js +2 -0
- package/dist/chunk-B2VE7WOX.js +1 -0
- package/dist/chunk-B4ISKIXN.js +5 -0
- package/dist/chunk-BAHIL37I.js +1 -0
- package/dist/chunk-BB7GAZP6.js +1 -0
- package/dist/{chunk-AJMJQA4J.js → chunk-BN7ZXAZJ.js} +1 -1
- package/dist/chunk-BNTOGZLY.js +1 -0
- package/dist/chunk-BU3JQM3W.js +1 -0
- package/dist/chunk-C3LL5CZA.js +1 -0
- package/dist/{chunk-PIGERIRY.js → chunk-C4EKNOLY.js} +1 -1
- package/dist/{chunk-YN4FSUFF.js → chunk-CFUZ6574.js} +1 -1
- package/dist/{chunk-7DSH4CRU.js → chunk-CKVVJ4XO.js} +1 -1
- package/dist/chunk-CNPBDSDL.js +1 -0
- package/dist/{chunk-BAHM64B4.js → chunk-CWR3IFXD.js} +1 -1
- package/dist/{chunk-T3UCIWRH.js → chunk-CX3ANDPI.js} +1 -1
- package/dist/chunk-CXPYOLGM.js +4 -0
- package/dist/{chunk-MTBABHUB.js → chunk-D4LFWIFE.js} +1 -1
- package/dist/chunk-DM7BTMFP.js +2 -0
- package/dist/{chunk-WGO2GC6I.js → chunk-DSKAIC7O.js} +1 -1
- package/dist/{chunk-WKVFVT3H.js → chunk-DTRENW4Q.js} +1 -1
- package/dist/{chunk-G362JEAV.js → chunk-DVW7NDVD.js} +1 -1
- package/dist/chunk-E3CTHNQS.js +1 -0
- package/dist/chunk-EA5XVQJT.js +1 -0
- package/dist/{chunk-K6FH5JSY.js → chunk-EH22T4FI.js} +2 -2
- package/dist/{chunk-5NCWBBRW.js → chunk-ETXBF6Q7.js} +1 -1
- package/dist/{chunk-5GFVMGAZ.js → chunk-EXTVC33U.js} +1 -1
- package/dist/chunk-F3OM2YO6.js +1 -0
- package/dist/{chunk-MWWULCLD.js → chunk-FHNJLON5.js} +1 -1
- package/dist/chunk-FK5OFLSJ.js +1 -0
- package/dist/chunk-FNWXMCSD.js +97 -0
- package/dist/chunk-FPOZMNT2.js +2 -0
- package/dist/chunk-FS5PZCZ3.js +1 -0
- package/dist/chunk-FTHVOIK7.js +4 -0
- package/dist/chunk-FVRI7ZKE.js +103 -0
- package/dist/chunk-FZCGRIOM.js +1 -0
- package/dist/chunk-GCKGQFV7.js +1 -0
- package/dist/chunk-GGJUPL4W.js +6 -0
- package/dist/{chunk-RW3P3UMU.js → chunk-GHU6YEXH.js} +2 -2
- package/dist/chunk-GNPIKPHB.js +1 -0
- package/dist/{chunk-PT3OZEBI.js → chunk-GSGCSBRN.js} +1 -1
- package/dist/chunk-H57KYDEI.js +16 -0
- package/dist/chunk-HF4NDEX3.js +1 -0
- package/dist/chunk-HNU6R7RT.js +7 -0
- package/dist/{chunk-65GNYRYR.js → chunk-HP2ZAAY7.js} +2 -2
- package/dist/chunk-HPT3UXZ5.js +4 -0
- package/dist/chunk-HT66BOEC.js +8 -0
- package/dist/chunk-HXNGLDMU.js +1 -0
- package/dist/chunk-IAL6IQYW.js +16 -0
- package/dist/{chunk-PIZDYS7T.js → chunk-IILLQOUC.js} +60 -60
- package/dist/chunk-IULZYDCI.js +9 -0
- package/dist/chunk-IWTNUJGY.js +2 -0
- package/dist/chunk-IWTOC6DG.js +1 -0
- package/dist/chunk-IY5EI5V2.js +1 -0
- package/dist/{chunk-AODTY2BL.js → chunk-J3UXIC23.js} +4 -4
- package/dist/{chunk-EZG5EB7D.js → chunk-J5DUFSR4.js} +1 -1
- package/dist/chunk-J7BTC45S.js +1 -0
- package/dist/chunk-JMVK2BIB.js +3 -0
- package/dist/chunk-JUTULEWW.js +5 -0
- package/dist/{chunk-DO5YFMTJ.js → chunk-K3YALQBQ.js} +1 -1
- package/dist/{chunk-XPDHT3Z4.js → chunk-KGASGUDQ.js} +1 -1
- package/dist/{chunk-JPFHPVIO.js → chunk-KLYGMYXV.js} +1 -1
- package/dist/chunk-KNQXCU3Y.js +6 -0
- package/dist/{chunk-4BXQTW5G.js → chunk-KOTZSPZA.js} +1 -1
- package/dist/chunk-KT5QQOES.js +3 -0
- package/dist/chunk-KVF55INC.js +5 -0
- package/dist/chunk-L6VONMA2.js +5 -0
- package/dist/chunk-LENSEW2F.js +2 -0
- package/dist/{chunk-35NTERVR.js → chunk-LGXNXAQA.js} +2 -2
- package/dist/{chunk-TQ7URMGS.js → chunk-LQ7ENG4V.js} +1 -1
- package/dist/chunk-LR4J4KYJ.js +5 -0
- package/dist/chunk-LWMKZJ4M.js +1 -0
- package/dist/chunk-M2KX3PXA.js +1 -0
- package/dist/{chunk-VSFZEGIK.js → chunk-M73IECPW.js} +1 -1
- package/dist/{chunk-Z4DESIR5.js → chunk-M7NLCGCP.js} +1 -1
- package/dist/chunk-MHWETFNT.js +1 -0
- package/dist/chunk-MMUGP3WP.js +7 -0
- package/dist/{chunk-VG5ZDVDQ.js → chunk-MNWT2SQO.js} +86 -200
- package/dist/chunk-MS7DTL4U.js +213 -0
- package/dist/chunk-MU2X7NGF.js +11 -0
- package/dist/chunk-MXXMIPUN.js +8 -0
- package/dist/{chunk-XTOOTN4P.js → chunk-MZCIRMZJ.js} +1 -1
- package/dist/{chunk-LLNUIGHP.js → chunk-MZWPIFAM.js} +4 -4
- package/dist/{chunk-HB4YI2PF.js → chunk-NCPZVARH.js} +118 -118
- package/dist/{chunk-LCMDVUVO.js → chunk-NJVNGEOU.js} +30 -30
- package/dist/chunk-NMECLRGK.js +11 -0
- package/dist/{chunk-VNG2I7NM.js → chunk-NMLLRFZF.js} +1 -1
- package/dist/chunk-NPB753M3.js +1 -0
- package/dist/chunk-NUCDRKDW.js +5 -0
- package/dist/chunk-OH7BQZQ7.js +2 -0
- package/dist/chunk-OLKLHVHA.js +22 -0
- package/dist/chunk-OPVXPDOQ.js +1 -0
- package/dist/chunk-OQUXGAF2.js +1 -0
- package/dist/chunk-OUMERKRE.js +10 -0
- package/dist/{chunk-PFXDXD5O.js → chunk-OYGIQDME.js} +1 -1
- package/dist/{chunk-4IAGBAQD.js → chunk-P5W5RVE6.js} +1 -1
- package/dist/chunk-PNZURX3S.js +1 -0
- package/dist/chunk-PRKJVU4Y.js +1 -0
- package/dist/{chunk-2VGPNRHH.js → chunk-PVASYKSJ.js} +2 -2
- package/dist/chunk-PXFPVGWV.js +1 -0
- package/dist/chunk-Q2ORJEB2.js +25 -0
- package/dist/chunk-QBE6XVU3.js +1 -0
- package/dist/chunk-QFWWCZOI.js +1 -0
- package/dist/{chunk-TR4OWSEX.js → chunk-QFYLJVJW.js} +1 -1
- package/dist/{chunk-Y5VFOLNQ.js → chunk-QGWC23HQ.js} +1 -1
- package/dist/chunk-QVVQUJQL.js +2 -0
- package/dist/{chunk-762IKULK.js → chunk-QX3T6G5X.js} +1 -1
- package/dist/chunk-QYFU363G.js +17 -0
- package/dist/chunk-RDXLDCMI.js +3 -0
- package/dist/chunk-REDUS6EW.js +1 -0
- package/dist/{chunk-KOS53Z7E.js → chunk-RFZNFTVM.js} +1 -1
- package/dist/chunk-RIG66DIQ.js +18 -0
- package/dist/chunk-RNUEPPVN.js +1 -0
- package/dist/chunk-RWTAPWLJ.js +3 -0
- package/dist/chunk-T5YVYVSW.js +1 -0
- package/dist/{chunk-VTOPYXHO.js → chunk-TTBNFGCW.js} +2 -2
- package/dist/chunk-UDPYSL3M.js +4 -0
- package/dist/{chunk-EAVD3OH2.js → chunk-ULMNNGGX.js} +1 -1
- package/dist/chunk-URCH4ITT.js +1 -0
- package/dist/chunk-UU2R56LN.js +12 -0
- package/dist/{chunk-YIZAQABE.js → chunk-V2FCZC7U.js} +1 -1
- package/dist/chunk-V654BMS7.js +376 -0
- package/dist/{chunk-5BGUKF7L.js → chunk-V75WUEFU.js} +1 -1
- package/dist/{chunk-5O7JTVO2.js → chunk-V7H7ITCF.js} +1 -1
- package/dist/{chunk-EO422KZZ.js → chunk-VG2AESTZ.js} +1 -1
- package/dist/chunk-VXD26GIG.js +1 -0
- package/dist/chunk-VXL5FBE7.js +3 -0
- package/dist/{chunk-RUDHGUIM.js → chunk-W7S6SYBM.js} +1 -1
- package/dist/chunk-WAY723TL.js +16 -0
- package/dist/{chunk-4TF7ER72.js → chunk-WBJ6ZHYH.js} +1 -1
- package/dist/chunk-WFOU5M4H.js +16 -0
- package/dist/chunk-WGOSE3RL.js +4 -0
- package/dist/chunk-WQ6W725N.js +1 -0
- package/dist/{chunk-7BWSN3SG.js → chunk-WQOPLNDH.js} +1 -1
- package/dist/chunk-X4A5D3PZ.js +8 -0
- package/dist/chunk-X7DCL5LT.js +1 -0
- package/dist/{chunk-HY6EXJBZ.js → chunk-XDXHSGDL.js} +1 -1
- package/dist/chunk-XKKKMV46.js +6 -0
- package/dist/chunk-XRVJJG6W.js +26 -0
- package/dist/chunk-XV6XCOTG.js +319 -0
- package/dist/chunk-XYFYQWKW.js +1 -0
- package/dist/{chunk-BD2L6YE5.js → chunk-XZLM4HLO.js} +1 -1
- package/dist/{chunk-YLCYRG2T.js → chunk-YCUEDZDA.js} +1 -1
- package/dist/{chunk-MF7IHOM5.js → chunk-YFRI75U4.js} +1 -1
- package/dist/chunk-YQ63ZFYT.js +1 -0
- package/dist/{chunk-I3J63RFV.js → chunk-YTUUU33R.js} +1 -1
- package/dist/chunk-YXIFSIRX.js +1 -0
- package/dist/{chunk-QBIYAMSH.js → chunk-ZBVHPC6W.js} +1 -1
- package/dist/chunk-ZDQO6CNY.js +1 -0
- package/dist/{chunk-LG6DGIFX.js → chunk-ZHHTQRWU.js} +1 -1
- package/dist/chunk-ZTZGDZCE.js +7 -0
- package/dist/{chunk-MQ4WV4B6.js → chunk-ZVEBXHEY.js} +1 -1
- package/dist/cli/commands/app/build.js +1 -1
- package/dist/cli/commands/app/bulk/cancel.js +1 -1
- package/dist/cli/commands/app/bulk/execute.js +1 -1
- package/dist/cli/commands/app/bulk/status.js +1 -1
- package/dist/cli/commands/app/config/link.js +1 -1
- package/dist/cli/commands/app/config/pull.js +1 -1
- package/dist/cli/commands/app/config/use.js +1 -1
- package/dist/cli/commands/app/config/validate.js +1 -1
- package/dist/cli/commands/app/demo/watcher.js +1 -1
- package/dist/cli/commands/app/deploy.js +1 -1
- package/dist/cli/commands/app/dev/clean.js +1 -1
- package/dist/cli/commands/app/dev.js +1 -1
- package/dist/cli/commands/app/env/pull.js +1 -1
- package/dist/cli/commands/app/env/show.js +1 -1
- package/dist/cli/commands/app/execute.js +1 -1
- package/dist/cli/commands/app/function/build.js +1 -1
- package/dist/cli/commands/app/function/info.js +1 -1
- package/dist/cli/commands/app/function/replay.js +1 -1
- package/dist/cli/commands/app/function/run.js +1 -1
- package/dist/cli/commands/app/function/schema.js +1 -1
- package/dist/cli/commands/app/function/typegen.js +1 -1
- package/dist/cli/commands/app/generate/extension.js +1 -1
- package/dist/cli/commands/app/graphiql.js +1 -1
- package/dist/cli/commands/app/import/channel-config.js +1 -1
- package/dist/cli/commands/app/import/custom-data-definitions.js +1 -1
- package/dist/cli/commands/app/import/dashboard-extensions.js +1 -1
- package/dist/cli/commands/app/import-custom-data-definitions.js +1 -1
- package/dist/cli/commands/app/import-extensions.js +1 -1
- package/dist/cli/commands/app/info.js +1 -1
- package/dist/cli/commands/app/init.js +1 -1
- package/dist/cli/commands/app/logs.js +1 -1
- package/dist/cli/commands/app/release.js +1 -1
- package/dist/cli/commands/app/security/check.js +1 -1
- package/dist/cli/commands/app/security/clean.js +1 -1
- package/dist/cli/commands/app/security/instructions.js +1 -1
- package/dist/cli/commands/app/security/record.js +1 -1
- package/dist/cli/commands/app/security/review.js +1 -1
- package/dist/cli/commands/app/subscription-migrations/cancel.js +1 -1
- package/dist/cli/commands/app/subscription-migrations/list.js +1 -1
- package/dist/cli/commands/app/subscription-migrations/schedule.js +1 -1
- package/dist/cli/commands/app/subscription-migrations/status.js +1 -1
- package/dist/cli/commands/app/subscription-migrations/unschedule.js +1 -1
- package/dist/cli/commands/app/versions/list.js +1 -1
- package/dist/cli/commands/app/webhook/trigger.js +1 -1
- package/dist/cli/commands/auth/login.js +1 -1
- package/dist/cli/commands/auth/logout.js +1 -1
- package/dist/cli/commands/cache/clear.js +1 -1
- package/dist/cli/commands/config/autoupgrade/off.js +1 -1
- package/dist/cli/commands/config/autoupgrade/on.js +1 -1
- package/dist/cli/commands/config/autoupgrade/status.js +1 -1
- package/dist/cli/commands/debug/command-flags.js +1 -1
- package/dist/cli/commands/doc/fetch.d.ts +34 -1
- package/dist/cli/commands/doc/fetch.js +1 -1
- package/dist/cli/commands/doc/search.d.ts +53 -1
- package/dist/cli/commands/doc/search.js +1 -1
- package/dist/cli/commands/docs/generate.js +1 -1
- package/dist/cli/commands/doctor-release/doctor-release.js +1 -1
- package/dist/cli/commands/doctor-release/theme/index.js +1 -1
- package/dist/cli/commands/help.d.ts +6 -6
- package/dist/cli/commands/help.js +1 -1
- package/dist/cli/commands/kitchen-sink/async.js +1 -1
- package/dist/cli/commands/kitchen-sink/index.js +1 -1
- package/dist/cli/commands/kitchen-sink/prompts.js +1 -1
- package/dist/cli/commands/kitchen-sink/static.js +1 -1
- package/dist/cli/commands/notifications/generate.js +1 -1
- package/dist/cli/commands/notifications/list.js +1 -1
- package/dist/cli/commands/organization/list.js +1 -1
- package/dist/cli/commands/search.js +1 -1
- package/dist/cli/commands/send-analytics.js +1 -1
- package/dist/cli/commands/theme/check.js +1 -1
- package/dist/cli/commands/theme/console.js +1 -1
- package/dist/cli/commands/theme/delete.js +1 -1
- package/dist/cli/commands/theme/dev.js +1 -1
- package/dist/cli/commands/theme/duplicate.js +1 -1
- package/dist/cli/commands/theme/info.js +1 -1
- package/dist/cli/commands/theme/init.js +1 -1
- package/dist/cli/commands/theme/language-server.js +1 -1
- package/dist/cli/commands/theme/list.js +1 -1
- package/dist/cli/commands/theme/metafields/pull.js +1 -1
- package/dist/cli/commands/theme/open.js +1 -1
- package/dist/cli/commands/theme/package.js +1 -1
- package/dist/cli/commands/theme/preview.js +1 -1
- package/dist/cli/commands/theme/profile.js +1 -1
- package/dist/cli/commands/theme/publish.js +1 -1
- package/dist/cli/commands/theme/pull.js +1 -1
- package/dist/cli/commands/theme/push.js +1 -1
- package/dist/cli/commands/theme/rename.js +1 -1
- package/dist/cli/commands/theme/share.js +1 -1
- package/dist/cli/commands/upgrade.d.ts +64 -0
- package/dist/cli/commands/upgrade.js +1 -1
- package/dist/cli/commands/version.js +1 -1
- package/dist/cli/help.js +1 -1
- package/dist/cli/services/commands/doc/fetch-result.d.ts +2 -0
- package/dist/cli/services/commands/doc/fetch-result.js +22 -0
- package/dist/cli/services/commands/doc/fetch.d.ts +2 -1
- package/dist/cli/services/commands/doc/fetch.js +2 -15
- package/dist/cli/services/commands/doc/search-result.d.ts +2 -0
- package/dist/cli/services/commands/doc/search-result.js +14 -0
- package/dist/cli/services/commands/doc/search.d.ts +9 -1
- package/dist/cli/services/commands/doc/search.js +27 -2
- package/dist/cli/services/commands/doc/types.d.ts +107 -0
- package/dist/cli/services/commands/doc/types.js +47 -0
- package/dist/cli/services/commands/help/types.d.ts +6 -6
- package/dist/command-event-context-LFUZ7UCA.js +1 -0
- package/dist/command-json-schema-6EGXCM4B.js +1 -0
- package/dist/command-registry.js +1 -1
- package/dist/conf-store-E7ELDWBA.js +1 -0
- package/dist/custom-oclif-loader-FKFZJPHF.js +1 -0
- package/dist/deprecations-RNGBHZYB.js +1 -0
- package/dist/dist-VHIZZDYK.js +1 -0
- package/dist/dist-WXI5YQYP.js +1 -0
- package/dist/{environment-RSUK27TA.js → environment-O7ECODHU.js} +1 -1
- package/dist/environments-WZJ6MRTH.js +1 -0
- package/dist/error-IFB626JA.js +1 -0
- package/dist/error-handler-OVJYVIOZ.js +1 -0
- package/dist/fs-7UOUHJDO.js +1 -0
- package/dist/hooks/did-you-mean.js +1 -1
- package/dist/hooks/hydrogen-init.js +1 -1
- package/dist/hooks/plugin-plugins.js +1 -1
- package/dist/hooks/postrun.js +1 -1
- package/dist/hooks/prerun.js +1 -1
- package/dist/hooks/public-metadata.js +1 -1
- package/dist/hooks/sensitive-metadata.js +1 -1
- package/dist/hooks/tunnel-provider.js +1 -1
- package/dist/hooks/tunnel-start.js +1 -1
- package/dist/index.js +13 -13
- package/dist/is-global-XW3CVHLK.js +1 -0
- package/dist/json-error-C2U7ZLCG.js +1 -0
- package/dist/{lib-TYM5B75S.js → lib-PJHT4MKY.js} +1 -1
- package/dist/{lib-55QUD4AJ.js → lib-VKSQ65BQ.js} +1 -1
- package/dist/{lib-PH52G55H.js → lib-YEZOHXF3.js} +1 -1
- package/dist/{local-ZZGRGYUP.js → local-KA3IWOZ6.js} +1 -1
- package/dist/{metadata-YQNVKC2R.js → metadata-6JI7HF5B.js} +1 -1
- package/dist/{morph-BABFBRSW.js → morph-CRY35DIK.js} +1 -1
- package/dist/node-package-manager-X3QIEMMX.js +1 -0
- package/dist/notifications-system-OXGLT2R4.js +1 -0
- package/dist/os-NORIEVMI.js +1 -0
- package/dist/out-B2GISN65.js +1 -0
- package/dist/output-K3JTLRJD.js +1 -0
- package/dist/{path-CPAYTWQW.js → path-3L2QRACZ.js} +1 -1
- package/dist/system-LTHR2T7L.js +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui-MYUBVKCK.js +1 -0
- package/dist/upgrade-MFTWBXL3.js +1 -0
- package/dist/version-BNGPPAUU.js +1 -0
- package/dist/version-RCGFWSB4.js +1 -0
- package/dist/workerd-ISSXMKIH.js +18 -0
- package/oclif.manifest.json +1669 -429
- package/package.json +8 -8
- package/dist/analytics-PBZEKUGU.js +0 -1
- package/dist/analytics-WVGBNFGK.js +0 -1
- package/dist/chunk-2EC5SUGK.js +0 -19
- package/dist/chunk-2QENUJVG.js +0 -1
- package/dist/chunk-2RONPKOD.js +0 -1
- package/dist/chunk-2WDJXERZ.js +0 -25
- package/dist/chunk-32NWVYUC.js +0 -1
- package/dist/chunk-32RRWGNS.js +0 -1
- package/dist/chunk-32VQQ6EU.js +0 -1
- package/dist/chunk-34RFTE5T.js +0 -4
- package/dist/chunk-35VQQKVX.js +0 -1
- package/dist/chunk-3N6NKC2U.js +0 -1
- package/dist/chunk-3Q5BAPQK.js +0 -7
- package/dist/chunk-42DMJGOW.js +0 -2
- package/dist/chunk-4CTTWXUX.js +0 -32
- package/dist/chunk-4HBKQUKY.js +0 -1
- package/dist/chunk-4MQXMIWQ.js +0 -7
- package/dist/chunk-5APLAJCB.js +0 -3
- package/dist/chunk-5AQNISGC.js +0 -1
- package/dist/chunk-5OM72O4N.js +0 -1
- package/dist/chunk-5SLKHURV.js +0 -1
- package/dist/chunk-5VRB3FBD.js +0 -6
- package/dist/chunk-62GA7XR3.js +0 -18
- package/dist/chunk-62LMVFR7.js +0 -1
- package/dist/chunk-6IDEDOXW.js +0 -2
- package/dist/chunk-72CBJYAG.js +0 -16
- package/dist/chunk-7E4MJCVE.js +0 -10
- package/dist/chunk-7HZU7CYS.js +0 -1
- package/dist/chunk-7Q4EKY3E.js +0 -3
- package/dist/chunk-7YXHILW4.js +0 -383
- package/dist/chunk-7Z6IX7MU.js +0 -1
- package/dist/chunk-A4XREDFZ.js +0 -1
- package/dist/chunk-AHNLGCHF.js +0 -5
- package/dist/chunk-ARRRFY6S.js +0 -4
- package/dist/chunk-BAP2CHI2.js +0 -1
- package/dist/chunk-BQWK222Q.js +0 -1
- package/dist/chunk-C3PXIZY3.js +0 -8
- package/dist/chunk-C6HGU77I.js +0 -1
- package/dist/chunk-CBFAU5AF.js +0 -5
- package/dist/chunk-COP2Q2YT.js +0 -1
- package/dist/chunk-CSWDRG3E.js +0 -1
- package/dist/chunk-CVBWEUWX.js +0 -1
- package/dist/chunk-D3NVUE65.js +0 -1
- package/dist/chunk-DCKRQZLE.js +0 -20
- package/dist/chunk-DYH3ZXJS.js +0 -15
- package/dist/chunk-EBX6DYDX.js +0 -2
- package/dist/chunk-EDRCFY3K.js +0 -16
- package/dist/chunk-EEAY7HFW.js +0 -317
- package/dist/chunk-EJMLNBZA.js +0 -275
- package/dist/chunk-EO3S2TFI.js +0 -2
- package/dist/chunk-EOIGDOUD.js +0 -7
- package/dist/chunk-EYKXHMEJ.js +0 -6
- package/dist/chunk-FHV2H3Z2.js +0 -12
- package/dist/chunk-FOAV642V.js +0 -1
- package/dist/chunk-FVTP7EO4.js +0 -46
- package/dist/chunk-FYIC4JHB.js +0 -26
- package/dist/chunk-GF36WNMH.js +0 -5
- package/dist/chunk-GJ3QUZO6.js +0 -1
- package/dist/chunk-GJZVUEMP.js +0 -11
- package/dist/chunk-GP6O7YRO.js +0 -20
- package/dist/chunk-GW424AJO.js +0 -7
- package/dist/chunk-GXSF6NCR.js +0 -1
- package/dist/chunk-GYVQIRBD.js +0 -1
- package/dist/chunk-H3ZPYOQV.js +0 -1
- package/dist/chunk-H7YSZKZ2.js +0 -1
- package/dist/chunk-HILYTMVA.js +0 -1
- package/dist/chunk-HMWQOQAQ.js +0 -2
- package/dist/chunk-HNSRF4SQ.js +0 -1
- package/dist/chunk-HTODXNY6.js +0 -3
- package/dist/chunk-IUYVJJKE.js +0 -9
- package/dist/chunk-JM2CQP64.js +0 -97
- package/dist/chunk-K4AF7A25.js +0 -1
- package/dist/chunk-KDV4WR5A.js +0 -4
- package/dist/chunk-KF7NL5YM.js +0 -8
- package/dist/chunk-KMJTO7CU.js +0 -103
- package/dist/chunk-KN3MUEWA.js +0 -4
- package/dist/chunk-KYB4JX76.js +0 -5
- package/dist/chunk-LJAU6YHF.js +0 -10
- package/dist/chunk-LMQOFVRC.js +0 -17
- package/dist/chunk-LQSD25YS.js +0 -3
- package/dist/chunk-M2HQFHNO.js +0 -1
- package/dist/chunk-M5WBYWSQ.js +0 -7
- package/dist/chunk-N47RQHEI.js +0 -2
- package/dist/chunk-NRG2WPSM.js +0 -1
- package/dist/chunk-O2CP7DQE.js +0 -1
- package/dist/chunk-O6FXUKI2.js +0 -2
- package/dist/chunk-OHJUEUSA.js +0 -1
- package/dist/chunk-OOKTWSGP.js +0 -4
- package/dist/chunk-OONMCK7X.js +0 -1
- package/dist/chunk-OWK2RI4O.js +0 -6
- package/dist/chunk-P2UEQJJ4.js +0 -5
- package/dist/chunk-QBJ74XPX.js +0 -18
- package/dist/chunk-QGFJOTOH.js +0 -4
- package/dist/chunk-QLHPTMIH.js +0 -1
- package/dist/chunk-RIO5HKD5.js +0 -1
- package/dist/chunk-S7EKUSO6.js +0 -3
- package/dist/chunk-SJ2ROSXG.js +0 -1
- package/dist/chunk-SNTRSP5K.js +0 -359
- package/dist/chunk-SYCN2GT2.js +0 -3
- package/dist/chunk-TBNEN73P.js +0 -1
- package/dist/chunk-TVI7TQ4C.js +0 -16
- package/dist/chunk-TYMYIUIQ.js +0 -1
- package/dist/chunk-UEQT7TA4.js +0 -1
- package/dist/chunk-UUM367NR.js +0 -5
- package/dist/chunk-V5FZRNXI.js +0 -1
- package/dist/chunk-VE35YELD.js +0 -1
- package/dist/chunk-WEICJ4GW.js +0 -1
- package/dist/chunk-WJJXJNNP.js +0 -3
- package/dist/chunk-XAQUXFN5.js +0 -1
- package/dist/chunk-XE6EUHSS.js +0 -2
- package/dist/chunk-XFEJS652.js +0 -16
- package/dist/chunk-XI4QEULN.js +0 -1
- package/dist/chunk-XP63T4KZ.js +0 -5
- package/dist/chunk-XRCAUZAZ.js +0 -8
- package/dist/chunk-XSRZWJIJ.js +0 -1
- package/dist/chunk-YFJELEVH.js +0 -1
- package/dist/chunk-YNJIDLI3.js +0 -7
- package/dist/chunk-YRX4E67D.js +0 -6
- package/dist/chunk-Z2NL6XQK.js +0 -6
- package/dist/chunk-Z6Z5DPKS.js +0 -1
- package/dist/chunk-ZOE6WXW6.js +0 -1
- package/dist/cli/commands/app/app-logs/sources.js +0 -1
- package/dist/command-json-schema-3RP5P43D.js +0 -1
- package/dist/conf-store-XORTWCKZ.js +0 -1
- package/dist/custom-oclif-loader-ZRYPPYIP.js +0 -1
- package/dist/deprecations-AZDMCRNN.js +0 -1
- package/dist/dist-DTBXLVHF.js +0 -1
- package/dist/dist-SOYIDACZ.js +0 -1
- package/dist/environments-L42SEHB4.js +0 -1
- package/dist/error-H6B5BHYC.js +0 -1
- package/dist/error-handler-JB752NKM.js +0 -1
- package/dist/fs-XHZY6MNM.js +0 -1
- package/dist/is-global-2NBDZWLC.js +0 -1
- package/dist/json-error-OHV2KQFY.js +0 -1
- package/dist/node-package-manager-LN2Y7FQ2.js +0 -1
- package/dist/notifications-system-HWJ3F44U.js +0 -1
- package/dist/os-MHOCCDIB.js +0 -1
- package/dist/out-53ABAVL7.js +0 -1
- package/dist/output-GILH4S6M.js +0 -1
- package/dist/system-6WYK24ET.js +0 -1
- package/dist/ui-RP6SVJUK.js +0 -1
- package/dist/upgrade-5G7FBJJV.js +0 -1
- package/dist/version-TOBC7X2C.js +0 -1
- package/dist/version-UIRCT6RC.js +0 -1
- package/dist/workerd-ARH2OCYL.js +0 -18
package/oclif.manifest.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"app:build": {
|
|
4
4
|
"aliases": [],
|
|
5
5
|
"args": {},
|
|
6
|
-
"description": "This command executes the build script specified in the element's TOML file. You can specify a custom script in the file. To learn about configuration files in Shopify apps, refer to \"App configuration\" (https://shopify.dev/docs/apps/tools/cli/configuration).\n\n If you're building a \"theme app extension\" (https://shopify.dev/docs/apps/online-store/theme-app-extensions), then running the `build` command runs \"Theme Check\" (https://shopify.dev/docs/themes/tools/theme-check) against your extension to ensure that it's valid.",
|
|
6
|
+
"description": "This command executes the build script specified in the element's TOML file. You can specify a custom script in the file. To learn about configuration files in Shopify apps, refer to \"App configuration\" (https://shopify.dev/docs/apps/tools/cli/configuration).\n\n If you're building a \"theme app extension\" (https://shopify.dev/docs/apps/online-store/theme-app-extensions), then running the `build` command runs \"Theme Check\" (https://shopify.dev/docs/themes/tools/theme-check) against your extension to ensure that it's valid.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `AppBuildResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n }\n },\n \"required\": [\n \"status\"\n ],\n \"additionalProperties\": false,\n \"title\": \"AppBuildResult\",\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
7
7
|
"flags": {
|
|
8
8
|
"json-schema": {
|
|
9
9
|
"description": "Print the command's JSON schemas.",
|
|
@@ -85,6 +85,15 @@
|
|
|
85
85
|
"allowNo": false,
|
|
86
86
|
"type": "boolean"
|
|
87
87
|
},
|
|
88
|
+
"json": {
|
|
89
|
+
"char": "j",
|
|
90
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
91
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
92
|
+
"hidden": false,
|
|
93
|
+
"name": "json",
|
|
94
|
+
"allowNo": false,
|
|
95
|
+
"type": "boolean"
|
|
96
|
+
},
|
|
88
97
|
"skip-dependencies-installation": {
|
|
89
98
|
"description": "Skips the installation of dependencies. Deprecated, use workspaces instead.",
|
|
90
99
|
"env": "SHOPIFY_FLAG_SKIP_DEPENDENCIES_INSTALLATION",
|
|
@@ -108,7 +117,7 @@
|
|
|
108
117
|
"app:bulk:cancel": {
|
|
109
118
|
"aliases": [],
|
|
110
119
|
"args": {},
|
|
111
|
-
"description": "Cancels a running bulk operation by ID.",
|
|
120
|
+
"description": "Cancels a running bulk operation by ID.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `CancelBulkOperationResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"storeDomain\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"pattern\": \"^[^.]+\\\\.myshopify\\\\.com$\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"apiVersion\": {\n \"type\": [\n \"string\",\n \"null\"\n ],\n \"description\": \"The API version selected for the request.\"\n },\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"operation\": {\n \"$ref\": \"#/definitions/BulkOperation\"\n }\n },\n \"required\": [\n \"storeDomain\",\n \"apiVersion\",\n \"status\",\n \"operation\"\n ],\n \"additionalProperties\": false,\n \"title\": \"CancelBulkOperationResult\",\n \"definitions\": {\n \"BulkOperation\": {\n \"type\": \"object\",\n \"properties\": {\n \"gid\": {\n \"type\": \"string\",\n \"pattern\": \"^gid:\\\\/\\\\/shopify\\\\/BulkOperation\\\\/[^/]+$\",\n \"description\": \"The Shopify global ID of a bulk operation.\"\n },\n \"type\": {\n \"type\": \"string\"\n },\n \"status\": {\n \"type\": \"string\"\n },\n \"errorCode\": {\n \"type\": [\n \"string\",\n \"null\"\n ]\n },\n \"createdAt\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"pattern\": \"^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}Z$\",\n \"description\": \"A UTC ISO 8601 instant with whole seconds and the Z timezone marker.\"\n },\n \"completedAt\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/BulkOperation/properties/createdAt\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"A UTC ISO 8601 instant with whole seconds and the Z timezone marker.\"\n },\n \"objectCount\": {\n \"type\": \"string\",\n \"pattern\": \"^\\\\d+$\",\n \"description\": \"A nonnegative decimal count, without loss of integer precision.\"\n },\n \"url\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"partialDataUrl\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n {\n \"type\": \"null\"\n }\n ]\n }\n },\n \"required\": [\n \"gid\",\n \"type\",\n \"status\",\n \"errorCode\",\n \"createdAt\",\n \"completedAt\",\n \"objectCount\",\n \"url\",\n \"partialDataUrl\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
112
121
|
"flags": {
|
|
113
122
|
"json-schema": {
|
|
114
123
|
"description": "Print the command's JSON schemas.",
|
|
@@ -148,6 +157,15 @@
|
|
|
148
157
|
"allowNo": false,
|
|
149
158
|
"type": "boolean"
|
|
150
159
|
},
|
|
160
|
+
"json": {
|
|
161
|
+
"char": "j",
|
|
162
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
163
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
164
|
+
"hidden": false,
|
|
165
|
+
"name": "json",
|
|
166
|
+
"allowNo": false,
|
|
167
|
+
"type": "boolean"
|
|
168
|
+
},
|
|
151
169
|
"path": {
|
|
152
170
|
"description": "The path to your app directory.",
|
|
153
171
|
"env": "SHOPIFY_FLAG_PATH",
|
|
@@ -217,12 +235,13 @@
|
|
|
217
235
|
"pluginType": "core",
|
|
218
236
|
"strict": true,
|
|
219
237
|
"summary": "Cancel a bulk operation.",
|
|
238
|
+
"descriptionWithMarkdown": "Cancels a running bulk operation by ID.",
|
|
220
239
|
"customPluginName": "@shopify/app"
|
|
221
240
|
},
|
|
222
241
|
"app:bulk:status": {
|
|
223
242
|
"aliases": [],
|
|
224
243
|
"args": {},
|
|
225
|
-
"description": "Check the status of a specific bulk operation by ID, or list all bulk operations belonging to this app on this store in the last 7 days.\n\n Bulk operations allow you to process large amounts of data asynchronously. Learn more about \"bulk query operations\" (https://shopify.dev/docs/api/usage/bulk-operations/queries) and \"bulk mutation operations\" (https://shopify.dev/docs/api/usage/bulk-operations/imports).\n\n Use \"`bulk execute`\" (https://shopify.dev/docs/api/shopify-cli/app/app-bulk-execute) to start a new bulk operation.",
|
|
244
|
+
"description": "Check the status of a specific bulk operation by ID, or list all bulk operations belonging to this app on this store in the last 7 days.\n\n Bulk operations allow you to process large amounts of data asynchronously. Learn more about \"bulk query operations\" (https://shopify.dev/docs/api/usage/bulk-operations/queries) and \"bulk mutation operations\" (https://shopify.dev/docs/api/usage/bulk-operations/imports).\n\n Use \"`bulk execute`\" (https://shopify.dev/docs/api/shopify-cli/app/app-bulk-execute) to start a new bulk operation.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `BulkOperationStatusResult` schema.\n\n```json\n{\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/GetBulkOperationStatusResult\"\n },\n {\n \"$ref\": \"#/definitions/ListBulkOperationsResult\"\n }\n ],\n \"title\": \"BulkOperationStatusResult\",\n \"definitions\": {\n \"GetBulkOperationStatusResult\": {\n \"type\": \"object\",\n \"properties\": {\n \"storeDomain\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"pattern\": \"^[^.]+\\\\.myshopify\\\\.com$\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"apiVersion\": {\n \"type\": [\n \"string\",\n \"null\"\n ],\n \"description\": \"The API version selected for the request.\"\n },\n \"operationGid\": {\n \"type\": \"string\",\n \"pattern\": \"^gid:\\\\/\\\\/shopify\\\\/BulkOperation\\\\/[^/]+$\",\n \"description\": \"The Shopify global ID of a bulk operation.\"\n },\n \"operation\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/BulkOperation\"\n },\n {\n \"type\": \"null\"\n }\n ]\n }\n },\n \"required\": [\n \"storeDomain\",\n \"apiVersion\",\n \"operationGid\",\n \"operation\"\n ],\n \"additionalProperties\": false\n },\n \"ListBulkOperationsResult\": {\n \"type\": \"object\",\n \"properties\": {\n \"storeDomain\": {\n \"$ref\": \"#/definitions/GetBulkOperationStatusResult/properties/storeDomain\"\n },\n \"apiVersion\": {\n \"$ref\": \"#/definitions/GetBulkOperationStatusResult/properties/apiVersion\"\n },\n \"operations\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/ListedBulkOperation\"\n }\n },\n \"pageInfo\": {\n \"type\": \"object\",\n \"properties\": {\n \"hasNextPage\": {\n \"type\": [\n \"boolean\",\n \"null\"\n ],\n \"description\": \"Unknown when the API result reaches the fetch limit.\"\n }\n },\n \"required\": [\n \"hasNextPage\"\n ],\n \"additionalProperties\": false\n }\n },\n \"required\": [\n \"storeDomain\",\n \"apiVersion\",\n \"operations\",\n \"pageInfo\"\n ],\n \"additionalProperties\": false\n },\n \"BulkOperation\": {\n \"type\": \"object\",\n \"properties\": {\n \"gid\": {\n \"$ref\": \"#/definitions/GetBulkOperationStatusResult/properties/operationGid\"\n },\n \"type\": {\n \"type\": \"string\"\n },\n \"status\": {\n \"type\": \"string\"\n },\n \"errorCode\": {\n \"type\": [\n \"string\",\n \"null\"\n ]\n },\n \"createdAt\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"pattern\": \"^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}Z$\",\n \"description\": \"A UTC ISO 8601 instant with whole seconds and the Z timezone marker.\"\n },\n \"completedAt\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/BulkOperation/properties/createdAt\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"A UTC ISO 8601 instant with whole seconds and the Z timezone marker.\"\n },\n \"objectCount\": {\n \"type\": \"string\",\n \"pattern\": \"^\\\\d+$\",\n \"description\": \"A nonnegative decimal count, without loss of integer precision.\"\n },\n \"url\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"partialDataUrl\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n {\n \"type\": \"null\"\n }\n ]\n }\n },\n \"required\": [\n \"gid\",\n \"type\",\n \"status\",\n \"errorCode\",\n \"createdAt\",\n \"completedAt\",\n \"objectCount\",\n \"url\",\n \"partialDataUrl\"\n ],\n \"additionalProperties\": false\n },\n \"ListedBulkOperation\": {\n \"type\": \"object\",\n \"properties\": {\n \"gid\": {\n \"$ref\": \"#/definitions/GetBulkOperationStatusResult/properties/operationGid\"\n },\n \"status\": {\n \"$ref\": \"#/definitions/BulkOperation/properties/status\"\n },\n \"errorCode\": {\n \"$ref\": \"#/definitions/BulkOperation/properties/errorCode\"\n },\n \"createdAt\": {\n \"$ref\": \"#/definitions/BulkOperation/properties/createdAt\"\n },\n \"completedAt\": {\n \"$ref\": \"#/definitions/BulkOperation/properties/completedAt\"\n },\n \"objectCount\": {\n \"$ref\": \"#/definitions/BulkOperation/properties/objectCount\"\n },\n \"url\": {\n \"$ref\": \"#/definitions/BulkOperation/properties/url\"\n },\n \"partialDataUrl\": {\n \"$ref\": \"#/definitions/BulkOperation/properties/partialDataUrl\"\n }\n },\n \"required\": [\n \"gid\",\n \"status\",\n \"errorCode\",\n \"createdAt\",\n \"completedAt\",\n \"objectCount\",\n \"url\",\n \"partialDataUrl\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
226
245
|
"flags": {
|
|
227
246
|
"json-schema": {
|
|
228
247
|
"description": "Print the command's JSON schemas.",
|
|
@@ -262,6 +281,15 @@
|
|
|
262
281
|
"allowNo": false,
|
|
263
282
|
"type": "boolean"
|
|
264
283
|
},
|
|
284
|
+
"json": {
|
|
285
|
+
"char": "j",
|
|
286
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
287
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
288
|
+
"hidden": false,
|
|
289
|
+
"name": "json",
|
|
290
|
+
"allowNo": false,
|
|
291
|
+
"type": "boolean"
|
|
292
|
+
},
|
|
265
293
|
"path": {
|
|
266
294
|
"description": "The path to your app directory.",
|
|
267
295
|
"env": "SHOPIFY_FLAG_PATH",
|
|
@@ -336,7 +364,7 @@
|
|
|
336
364
|
"app:deploy": {
|
|
337
365
|
"aliases": [],
|
|
338
366
|
"args": {},
|
|
339
|
-
"description": "\"Builds the app\" (https://shopify.dev/docs/api/shopify-cli/app/app-build), then deploys your app configuration and extensions.\n\n This command creates an app version, which is a snapshot of your app configuration and all extensions. This version is then released to users.\n\n This command doesn't deploy your \"web app\" (https://shopify.dev/docs/apps/tools/cli/structure#web-components). You need to \"deploy your web app\" (https://shopify.dev/docs/apps/deployment/web) to your own hosting solution.\n ",
|
|
367
|
+
"description": "\"Builds the app\" (https://shopify.dev/docs/api/shopify-cli/app/app-build), then deploys your app configuration and extensions.\n\n This command creates an app version, which is a snapshot of your app configuration and all extensions. This version is then released to users.\n\n This command doesn't deploy your \"web app\" (https://shopify.dev/docs/apps/tools/cli/structure#web-components). You need to \"deploy your web app\" (https://shopify.dev/docs/apps/deployment/web) to your own hosting solution.\n \n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `AppDeployResult` schema.\n\n```json\n{\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"app\": {\n \"$ref\": \"#/definitions/App\"\n },\n \"deployment\": {\n \"$ref\": \"#/definitions/AppDeployment\"\n }\n },\n \"required\": [\n \"status\",\n \"app\",\n \"deployment\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"partial\"\n },\n \"app\": {\n \"$ref\": \"#/definitions/App\"\n },\n \"deployment\": {\n \"type\": \"object\",\n \"properties\": {\n \"released\": {\n \"type\": \"boolean\",\n \"const\": false\n },\n \"version\": {\n \"$ref\": \"#/definitions/AppDeploymentVersion\"\n }\n },\n \"required\": [\n \"released\",\n \"version\"\n ],\n \"additionalProperties\": false\n },\n \"errors\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/JsonAbortError\"\n },\n \"minItems\": 1\n }\n },\n \"required\": [\n \"status\",\n \"app\",\n \"deployment\",\n \"errors\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"cancelled\"\n }\n },\n \"required\": [\n \"status\"\n ],\n \"additionalProperties\": false\n }\n ],\n \"title\": \"AppDeployResult\",\n \"definitions\": {\n \"JsonAbortError\": {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"abort\"\n },\n \"message\": {\n \"type\": \"string\"\n },\n \"code\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"A stable error code, included only when known.\"\n },\n \"tryMessage\": {\n \"type\": \"string\"\n },\n \"nextSteps\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"customSections\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"title\": {\n \"type\": \"string\"\n },\n \"body\": {\n \"anyOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n }\n ]\n }\n },\n \"required\": [\n \"body\"\n ],\n \"additionalProperties\": false\n }\n },\n \"details\": {\n \"description\": \"Selected domain details, preserving native API payloads such as GraphQL errors, extensions, and data.\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n \"App\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"clientId\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"The client ID of the app receiving the deployment.\"\n }\n },\n \"required\": [\n \"name\",\n \"clientId\"\n ],\n \"additionalProperties\": false\n },\n \"AppDeployment\": {\n \"type\": \"object\",\n \"properties\": {\n \"released\": {\n \"type\": \"boolean\",\n \"description\": \"Whether this command released the version to users.\"\n },\n \"version\": {\n \"$ref\": \"#/definitions/AppDeploymentVersion\"\n }\n },\n \"required\": [\n \"released\",\n \"version\"\n ],\n \"additionalProperties\": false\n },\n \"AppDeploymentVersion\": {\n \"type\": \"object\",\n \"properties\": {\n \"gid\": {\n \"type\": \"string\",\n \"pattern\": \"^gid:\\\\/\\\\/shopify\\\\/Version\\\\/\\\\d+$\",\n \"description\": \"The Shopify app version GID.\"\n },\n \"name\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"minLength\": 1\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The version tag, or null when no tag is available.\"\n },\n \"message\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"minLength\": 1\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The version message, or null when no message is available.\"\n },\n \"url\": {\n \"type\": \"string\",\n \"format\": \"uri\",\n \"description\": \"The Developer Dashboard URL for this version.\"\n }\n },\n \"required\": [\n \"gid\",\n \"name\",\n \"message\",\n \"url\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
340
368
|
"flags": {
|
|
341
369
|
"json-schema": {
|
|
342
370
|
"description": "Print the command's JSON schemas.",
|
|
@@ -415,6 +443,15 @@
|
|
|
415
443
|
"allowNo": false,
|
|
416
444
|
"type": "boolean"
|
|
417
445
|
},
|
|
446
|
+
"json": {
|
|
447
|
+
"char": "j",
|
|
448
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
449
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
450
|
+
"hidden": false,
|
|
451
|
+
"name": "json",
|
|
452
|
+
"allowNo": false,
|
|
453
|
+
"type": "boolean"
|
|
454
|
+
},
|
|
418
455
|
"allow-updates": {
|
|
419
456
|
"description": "Allows adding and updating extensions and configuration without requiring user confirmation. Recommended option for CI/CD environments. In non-interactive environments, provide this flag, --allow-deletes, or --no-release.",
|
|
420
457
|
"env": "SHOPIFY_FLAG_ALLOW_UPDATES",
|
|
@@ -492,7 +529,7 @@
|
|
|
492
529
|
"app:dev": {
|
|
493
530
|
"aliases": [],
|
|
494
531
|
"args": {},
|
|
495
|
-
"description": "Builds and previews your app on a dev store, and watches for changes. \"Read more about testing apps locally\" (https://shopify.dev/docs/apps/build/cli-for-apps/test-apps-locally).",
|
|
532
|
+
"description": "Builds and previews your app on a dev store, and watches for changes. \"Read more about testing apps locally\" (https://shopify.dev/docs/apps/build/cli-for-apps/test-apps-locally).\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `DevInstanceLogEntry` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"timestamp\": {\n \"$ref\": \"#/definitions/DevInstance/properties/startedAt\"\n },\n \"source\": {\n \"type\": \"string\",\n \"description\": \"What produced the line, for example a process prefix like web or extensions.\"\n },\n \"level\": {\n \"type\": \"string\",\n \"enum\": [\n \"debug\",\n \"info\",\n \"warning\",\n \"error\"\n ]\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"timestamp\",\n \"source\",\n \"message\"\n ],\n \"additionalProperties\": false,\n \"title\": \"DevInstanceLogEntry\",\n \"definitions\": {\n \"DevInstance\": {\n \"type\": \"object\",\n \"properties\": {\n \"schemaVersion\": {\n \"type\": \"number\",\n \"const\": 1\n },\n \"sessionId\": {\n \"type\": \"string\"\n },\n \"command\": {\n \"type\": \"string\",\n \"const\": \"app dev\"\n },\n \"key\": {\n \"type\": \"string\"\n },\n \"pid\": {\n \"type\": \"integer\",\n \"exclusiveMinimum\": 0\n },\n \"status\": {\n \"type\": \"string\",\n \"enum\": [\n \"starting\",\n \"running\"\n ]\n },\n \"startedAt\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"pattern\": \"^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}Z$\",\n \"description\": \"A UTC ISO 8601 instant with whole seconds and the Z timezone marker.\"\n },\n \"updatedAt\": {\n \"$ref\": \"#/definitions/DevInstance/properties/startedAt\"\n },\n \"directory\": {\n \"type\": \"string\"\n },\n \"logFile\": {\n \"type\": \"string\"\n },\n \"details\": {\n \"type\": \"object\",\n \"properties\": {\n \"configPath\": {\n \"type\": \"string\"\n },\n \"appName\": {\n \"type\": \"string\"\n },\n \"clientId\": {\n \"type\": \"string\"\n },\n \"storeFqdn\": {\n \"type\": \"string\"\n },\n \"previewUrl\": {\n \"type\": \"string\"\n },\n \"graphiqlUrl\": {\n \"type\": \"string\"\n },\n \"appUrl\": {\n \"type\": \"string\"\n },\n \"localUrl\": {\n \"type\": \"string\"\n },\n \"preview\": {\n \"$ref\": \"#/definitions/DevPreview\",\n \"description\": \"The CLI-reported preview state in the instance file; this is not a health check.\"\n }\n },\n \"required\": [\n \"configPath\",\n \"appName\",\n \"clientId\"\n ],\n \"additionalProperties\": false\n }\n },\n \"required\": [\n \"schemaVersion\",\n \"sessionId\",\n \"command\",\n \"pid\",\n \"status\",\n \"startedAt\",\n \"updatedAt\",\n \"directory\",\n \"logFile\",\n \"details\"\n ],\n \"additionalProperties\": false,\n \"description\": \"The instance JSON file under .shopify/dev/. This object is not emitted to stdout.\"\n },\n \"DevPreview\": {\n \"type\": \"object\",\n \"properties\": {\n \"state\": {\n \"type\": \"string\",\n \"enum\": [\n \"starting\",\n \"updating\",\n \"ready\",\n \"error\"\n ]\n },\n \"message\": {\n \"type\": [\n \"string\",\n \"null\"\n ]\n },\n \"errors\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": [\n \"state\",\n \"message\",\n \"errors\"\n ],\n \"additionalProperties\": false,\n \"description\": \"The CLI-reported preview state in the instance file; this is not a health check.\"\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
496
533
|
"flags": {
|
|
497
534
|
"json-schema": {
|
|
498
535
|
"description": "Print the command's JSON schemas.",
|
|
@@ -571,6 +608,15 @@
|
|
|
571
608
|
"allowNo": false,
|
|
572
609
|
"type": "boolean"
|
|
573
610
|
},
|
|
611
|
+
"json": {
|
|
612
|
+
"char": "j",
|
|
613
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
614
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
615
|
+
"hidden": false,
|
|
616
|
+
"name": "json",
|
|
617
|
+
"allowNo": false,
|
|
618
|
+
"type": "boolean"
|
|
619
|
+
},
|
|
574
620
|
"store": {
|
|
575
621
|
"char": "s",
|
|
576
622
|
"description": "Store URL. Must be an existing development or Shopify Plus sandbox store.",
|
|
@@ -722,7 +768,7 @@
|
|
|
722
768
|
"app:dev:clean": {
|
|
723
769
|
"aliases": [],
|
|
724
770
|
"args": {},
|
|
725
|
-
"description": "Stop the dev preview that was started with `shopify app dev`.\n\n It restores the app's active version to the selected development store.\n ",
|
|
771
|
+
"description": "Stop the dev preview that was started with `shopify app dev`.\n\n It restores the app's active version to the selected development store.\n \n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `AppDevCleanResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"app\": {\n \"$ref\": \"#/definitions/AppDevCleanApp\"\n },\n \"storeDomain\": {\n \"type\": [\n \"string\",\n \"null\"\n ],\n \"description\": \"The canonical *.myshopify.com hostname, or null when unknown.\"\n }\n },\n \"required\": [\n \"status\",\n \"app\",\n \"storeDomain\"\n ],\n \"additionalProperties\": false,\n \"title\": \"AppDevCleanResult\",\n \"definitions\": {\n \"AppDevCleanApp\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"clientId\": {\n \"type\": \"string\",\n \"minLength\": 1\n }\n },\n \"required\": [\n \"name\",\n \"clientId\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
726
772
|
"flags": {
|
|
727
773
|
"json-schema": {
|
|
728
774
|
"description": "Print the command's JSON schemas.",
|
|
@@ -801,6 +847,15 @@
|
|
|
801
847
|
"allowNo": false,
|
|
802
848
|
"type": "boolean"
|
|
803
849
|
},
|
|
850
|
+
"json": {
|
|
851
|
+
"char": "j",
|
|
852
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
853
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
854
|
+
"hidden": false,
|
|
855
|
+
"name": "json",
|
|
856
|
+
"allowNo": false,
|
|
857
|
+
"type": "boolean"
|
|
858
|
+
},
|
|
804
859
|
"store": {
|
|
805
860
|
"char": "s",
|
|
806
861
|
"description": "Store URL. Must be an existing development store.",
|
|
@@ -821,12 +876,103 @@
|
|
|
821
876
|
"strict": true,
|
|
822
877
|
"summary": "Cleans up the dev preview from the selected store.",
|
|
823
878
|
"descriptionWithMarkdown": "Stop the dev preview that was started with `shopify app dev`.\n\n It restores the app's active version to the selected development store.\n ",
|
|
879
|
+
"jsonOutputSchema": {
|
|
880
|
+
"name": "AppDevCleanResult",
|
|
881
|
+
"schema": {
|
|
882
|
+
"_def": {
|
|
883
|
+
"unknownKeys": "strict",
|
|
884
|
+
"catchall": {
|
|
885
|
+
"_def": {
|
|
886
|
+
"typeName": "ZodNever"
|
|
887
|
+
},
|
|
888
|
+
"~standard": {
|
|
889
|
+
"version": 1,
|
|
890
|
+
"vendor": "zod"
|
|
891
|
+
}
|
|
892
|
+
},
|
|
893
|
+
"typeName": "ZodObject"
|
|
894
|
+
},
|
|
895
|
+
"~standard": {
|
|
896
|
+
"version": 1,
|
|
897
|
+
"vendor": "zod"
|
|
898
|
+
},
|
|
899
|
+
"_cached": null
|
|
900
|
+
},
|
|
901
|
+
"definitions": {
|
|
902
|
+
"AppDevCleanApp": {
|
|
903
|
+
"_def": {
|
|
904
|
+
"unknownKeys": "strict",
|
|
905
|
+
"catchall": {
|
|
906
|
+
"_def": {
|
|
907
|
+
"typeName": "ZodNever"
|
|
908
|
+
},
|
|
909
|
+
"~standard": {
|
|
910
|
+
"version": 1,
|
|
911
|
+
"vendor": "zod"
|
|
912
|
+
}
|
|
913
|
+
},
|
|
914
|
+
"typeName": "ZodObject"
|
|
915
|
+
},
|
|
916
|
+
"~standard": {
|
|
917
|
+
"version": 1,
|
|
918
|
+
"vendor": "zod"
|
|
919
|
+
},
|
|
920
|
+
"_cached": null
|
|
921
|
+
}
|
|
922
|
+
},
|
|
923
|
+
"jsonSchema": {
|
|
924
|
+
"type": "object",
|
|
925
|
+
"properties": {
|
|
926
|
+
"status": {
|
|
927
|
+
"type": "string",
|
|
928
|
+
"const": "success"
|
|
929
|
+
},
|
|
930
|
+
"app": {
|
|
931
|
+
"$ref": "#/definitions/AppDevCleanApp"
|
|
932
|
+
},
|
|
933
|
+
"storeDomain": {
|
|
934
|
+
"type": [
|
|
935
|
+
"string",
|
|
936
|
+
"null"
|
|
937
|
+
],
|
|
938
|
+
"description": "The canonical *.myshopify.com hostname, or null when unknown."
|
|
939
|
+
}
|
|
940
|
+
},
|
|
941
|
+
"required": [
|
|
942
|
+
"status",
|
|
943
|
+
"app",
|
|
944
|
+
"storeDomain"
|
|
945
|
+
],
|
|
946
|
+
"additionalProperties": false,
|
|
947
|
+
"title": "AppDevCleanResult",
|
|
948
|
+
"definitions": {
|
|
949
|
+
"AppDevCleanApp": {
|
|
950
|
+
"type": "object",
|
|
951
|
+
"properties": {
|
|
952
|
+
"name": {
|
|
953
|
+
"type": "string"
|
|
954
|
+
},
|
|
955
|
+
"clientId": {
|
|
956
|
+
"type": "string",
|
|
957
|
+
"minLength": 1
|
|
958
|
+
}
|
|
959
|
+
},
|
|
960
|
+
"required": [
|
|
961
|
+
"name",
|
|
962
|
+
"clientId"
|
|
963
|
+
],
|
|
964
|
+
"additionalProperties": false
|
|
965
|
+
}
|
|
966
|
+
},
|
|
967
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
968
|
+
}
|
|
969
|
+
},
|
|
824
970
|
"customPluginName": "@shopify/app"
|
|
825
971
|
},
|
|
826
972
|
"app:security:check": {
|
|
827
973
|
"aliases": [],
|
|
828
974
|
"args": {},
|
|
829
|
-
"description": "Runs an app security check locally and writes `deterministic-findings.json` and `agent-checks.json` to the results directory, `.shopify/app-security/<results key>/`. The results key is `--client-id` when you pass it, and otherwise the name of the app configuration file without `.toml`; the other `app security` commands take the same selection flags and find the same directory. Every run replaces both files, so it's always safe to run the check again.\n\n`deterministic-findings.json` holds the deterministic scan results. `agent-checks.json` holds the checks for your coding agent to investigate; the agent's results are recorded with `shopify app security record`. Use `--config` to select a specific app configuration when the project has multiple `shopify.app*.toml` files; the check inspects only that configuration. Use `--client-id` to replace the configuration's client ID for this run. `--client-id` is checked against your Shopify account before anything is scanned, so it needs you to be logged in. When no app configuration exists, use `--without-app-config --client-id <client-id>` to scan `--path` anyway with config checks skipped; in an interactive terminal the command offers to do this.\n\nThe check scans the app directory and each `--include-dir`. Git ignore rules apply by default: a file or directory that Git ignores is skipped, using the rules of the repository that contains it, while files that Git tracks are always scanned. Use `--no-git-ignore` to turn Git ignore rules off for every scanned directory. When the check uses Git, it requires Git 2.38.0 or later.\n\nUse `--exclude` to skip more paths. Each value is a glob that is matched against the path relative to the working directory, so a path above it starts with `../`, and a name at any depth needs `**/`, for example `--exclude '**/generated'`. Repeat the flag to add globs. An exclusion can't remove the selected app configuration file. Quote each value so your shell doesn't expand `*`. The coding-agent instructions this check offers repeat the globs. Other `app security` commands don't take `--exclude` or `--no-git-ignore`, so pass the same flags each time you run the check.\n\nUse `--list-files` to check the scope before scanning: it prints the files the check would gather, one path per line and relative to the app directory, and then stops. It writes no results and never prompts. `--client-id` is still checked, but doesn't change the list.\n\nIn interactive terminals, the command offers to copy the coding-agent instructions, print them, or choose nothing; copying is the default. In CI and other non-interactive environments, instructions aren't offered unless you pass `--print-instructions`, which prints them. You can also run `shopify app security instructions` to print, copy, or write them later.\n\nReports the number of findings to Shopify as usage telemetry, but not finding details. See \"usage reporting\" (https://shopify.dev/docs/api/shopify-cli#usage-reporting) for details.",
|
|
975
|
+
"description": "Runs an app security check locally and writes `deterministic-findings.json` and `agent-checks.json` to the results directory, `.shopify/app-security/<results key>/`. The results key is `--client-id` when you pass it, and otherwise the name of the app configuration file without `.toml`; the other `app security` commands take the same selection flags and find the same directory. Every run replaces both files, so it's always safe to run the check again.\n\n`deterministic-findings.json` holds the deterministic scan results. `agent-checks.json` holds the checks for your coding agent to investigate; the agent's results are recorded with `shopify app security record`. Use `--config` to select a specific app configuration when the project has multiple `shopify.app*.toml` files; the check inspects only that configuration. Use `--client-id` to replace the configuration's client ID for this run. `--client-id` is checked against your Shopify account before anything is scanned, so it needs you to be logged in. When no app configuration exists, use `--without-app-config --client-id <client-id>` to scan `--path` anyway with config checks skipped; in an interactive terminal the command offers to do this.\n\nThe check scans the app directory and each `--include-dir`. Git ignore rules apply by default: a file or directory that Git ignores is skipped, using the rules of the repository that contains it, while files that Git tracks are always scanned. Use `--no-git-ignore` to turn Git ignore rules off for every scanned directory. When the check uses Git, it requires Git 2.38.0 or later.\n\nUse `--exclude` to skip more paths. Each value is a glob that is matched against the path relative to the working directory, so a path above it starts with `../`, and a name at any depth needs `**/`, for example `--exclude '**/generated'`. Repeat the flag to add globs. An exclusion can't remove the selected app configuration file. Quote each value so your shell doesn't expand `*`. The coding-agent instructions this check offers repeat the globs. Other `app security` commands don't take `--exclude` or `--no-git-ignore`, so pass the same flags each time you run the check.\n\nUse `--list-files` to check the scope before scanning: it prints the files the check would gather, one path per line and relative to the app directory, and then stops. It writes no results and never prompts. `--client-id` is still checked, but doesn't change the list. With `--json`, the result lists the files with absolute paths.\n\nIn interactive terminals, the command offers to copy the coding-agent instructions, print them, or choose nothing; copying is the default. In CI and other non-interactive environments, instructions aren't offered unless you pass `--print-instructions`, which prints them. You can also run `shopify app security instructions` to print, copy, or write them later. With `--json`, the command offers to include the instructions in the result, with or without copying them, and `--print-instructions` includes them.\n\nWith `--json`, the result describes the scan and the files it wrote, and whether `--blocking` passed, but not the findings: run `shopify app security review --json` for those.\n\nReports the number of findings to Shopify as usage telemetry, but not finding details. See \"usage reporting\" (https://shopify.dev/docs/api/shopify-cli#usage-reporting) for details.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `AppSecurityCheckResult` schema.\n\n```json\n{\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"valid\": {\n \"type\": \"boolean\",\n \"description\": \"Whether --blocking passed: no finding of the scan has its own severity at or above the level. blocking.blockedCheckCount counts the checks with such findings, and --blocking none always passes. Run review --json for the findings.\"\n },\n \"app\": {\n \"$ref\": \"#/definitions/AppSecurityApp\"\n },\n \"resultsDirectory\": {\n \"type\": \"string\",\n \"description\": \"The absolute path of the results directory that holds the files the scan wrote.\"\n },\n \"deterministicFindingsPath\": {\n \"type\": \"string\",\n \"description\": \"The absolute path of deterministic-findings.json, which the scan replaced.\"\n },\n \"agentChecksPath\": {\n \"type\": \"string\",\n \"description\": \"The absolute path of agent-checks.json, which the scan replaced.\"\n },\n \"scope\": {\n \"$ref\": \"#/definitions/AppSecurityScope\"\n },\n \"scanDirectories\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/AppSecurityScanDirectory\"\n },\n \"description\": \"The directories that the scan walked.\"\n },\n \"agentCheckCount\": {\n \"type\": \"integer\",\n \"minimum\": 0,\n \"description\": \"The number of checks in agent-checks.json for a coding agent to investigate.\"\n },\n \"blocking\": {\n \"$ref\": \"#/definitions/AppSecurityBlocking\"\n },\n \"instructions\": {\n \"$ref\": \"#/definitions/AppSecurityInstructions\",\n \"description\": \"The coding-agent instructions for this scan, with --print-instructions or when chosen at the prompt. Left out otherwise.\"\n }\n },\n \"required\": [\n \"status\",\n \"valid\",\n \"app\",\n \"resultsDirectory\",\n \"deterministicFindingsPath\",\n \"agentChecksPath\",\n \"scope\",\n \"scanDirectories\",\n \"agentCheckCount\",\n \"blocking\"\n ],\n \"additionalProperties\": false\n },\n {\n \"$ref\": \"#/definitions/AppSecurityCheckFileList\"\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"cancelled\"\n }\n },\n \"required\": [\n \"status\"\n ],\n \"additionalProperties\": false,\n \"description\": \"Asked whether to scan without app configuration, the user declined. Nothing was scanned or written.\"\n }\n ],\n \"description\": \"The scan and the files it wrote. With --list-files, the files that a scan would gather.\",\n \"title\": \"AppSecurityCheckResult\",\n \"definitions\": {\n \"AppSecurityApp\": {\n \"type\": \"object\",\n \"properties\": {\n \"directory\": {\n \"type\": \"string\",\n \"description\": \"The absolute app directory.\"\n },\n \"configurationPath\": {\n \"anyOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The absolute path of the selected app configuration file, or null with --without-app-config.\"\n },\n \"clientId\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"minLength\": 1\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The --client-id value when passed, otherwise the app configuration's client_id. Null when the app configuration isn't linked.\"\n }\n },\n \"required\": [\n \"directory\",\n \"configurationPath\",\n \"clientId\"\n ],\n \"additionalProperties\": false\n },\n \"AppSecurityScope\": {\n \"type\": \"object\",\n \"properties\": {\n \"includeDirs\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n },\n \"description\": \"The --include-dir values.\"\n },\n \"excludes\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n },\n \"description\": \"The --exclude globs.\"\n },\n \"noGitIgnore\": {\n \"type\": \"boolean\",\n \"description\": \"Whether --no-git-ignore was passed.\"\n }\n },\n \"required\": [\n \"includeDirs\",\n \"excludes\",\n \"noGitIgnore\"\n ],\n \"additionalProperties\": false,\n \"description\": \"The check flags that chose which files were gathered, exactly as typed.\"\n },\n \"AppSecurityScanDirectory\": {\n \"type\": \"object\",\n \"properties\": {\n \"directory\": {\n \"type\": \"string\",\n \"description\": \"The absolute path of the directory.\"\n },\n \"origin\": {\n \"type\": \"string\",\n \"enum\": [\n \"app-directory\",\n \"include-dir\",\n \"app-config-directory\"\n ],\n \"description\": \"Why it was scanned: it is the app directory, an --include-dir value, or an extension or web directory of the app configuration.\"\n }\n },\n \"required\": [\n \"directory\",\n \"origin\"\n ],\n \"additionalProperties\": false,\n \"description\": \"A directory that check scanned.\"\n },\n \"AppSecurityBlocking\": {\n \"type\": \"object\",\n \"properties\": {\n \"level\": {\n \"type\": \"string\",\n \"enum\": [\n \"high\",\n \"medium\",\n \"low\",\n \"none\"\n ],\n \"description\": \"The --blocking severity.\"\n },\n \"blockedCheckCount\": {\n \"type\": \"integer\",\n \"minimum\": 0,\n \"description\": \"The number of checks with findings at or above that severity. Always 0 for none.\"\n }\n },\n \"required\": [\n \"level\",\n \"blockedCheckCount\"\n ],\n \"additionalProperties\": false,\n \"description\": \"The --blocking policy and the checks that fail it.\"\n },\n \"AppSecurityInstructions\": {\n \"type\": \"object\",\n \"properties\": {\n \"content\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"The instructions in Markdown, as printed without --json.\"\n },\n \"copied\": {\n \"type\": \"boolean\",\n \"description\": \"Whether the instructions were also copied to the clipboard.\"\n }\n },\n \"required\": [\n \"content\",\n \"copied\"\n ],\n \"additionalProperties\": false\n },\n \"AppSecurityCheckFileList\": {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"app\": {\n \"$ref\": \"#/definitions/AppSecurityApp\"\n },\n \"scope\": {\n \"$ref\": \"#/definitions/AppSecurityScope\"\n },\n \"scanDirectories\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/AppSecurityScanDirectory\"\n },\n \"description\": \"The directories that a scan would walk.\"\n },\n \"files\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"path\": {\n \"type\": \"string\",\n \"description\": \"The absolute path of the file.\"\n }\n },\n \"required\": [\n \"path\"\n ],\n \"additionalProperties\": false\n },\n \"description\": \"The files that a scan would gather, ordered by their paths relative to the app directory, as listed without --json.\"\n }\n },\n \"required\": [\n \"status\",\n \"app\",\n \"scope\",\n \"scanDirectories\",\n \"files\"\n ],\n \"additionalProperties\": false,\n \"description\": \"With --list-files, the files that a scan would gather. Nothing is scanned or written.\"\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
830
976
|
"examples": [
|
|
831
977
|
"<%= config.bin %> <%= command.id %>",
|
|
832
978
|
"<%= config.bin %> <%= command.id %> --include-dir ../backend",
|
|
@@ -933,7 +1079,7 @@
|
|
|
933
1079
|
"type": "boolean"
|
|
934
1080
|
},
|
|
935
1081
|
"list-files": {
|
|
936
|
-
"description": "Print the files the check would gather, one path per line, and stop. Nothing is scanned, no results are written, and nothing is prompted for.",
|
|
1082
|
+
"description": "Print the files the check would gather, one path per line, and stop. Nothing is scanned, no results are written, and nothing is prompted for. With --json, the result lists them with absolute paths.",
|
|
937
1083
|
"env": "SHOPIFY_FLAG_LIST_FILES",
|
|
938
1084
|
"exclusive": [
|
|
939
1085
|
"print-instructions",
|
|
@@ -960,7 +1106,7 @@
|
|
|
960
1106
|
"type": "option"
|
|
961
1107
|
},
|
|
962
1108
|
"print-instructions": {
|
|
963
|
-
"description": "Print coding-agent instructions without prompting for how to deliver them.",
|
|
1109
|
+
"description": "Print coding-agent instructions without prompting for how to deliver them. With --json, the instructions are included in the result.",
|
|
964
1110
|
"env": "SHOPIFY_FLAG_APP_SECURITY_PRINT_INSTRUCTIONS",
|
|
965
1111
|
"exclusive": [
|
|
966
1112
|
"skip-instructions"
|
|
@@ -993,6 +1139,15 @@
|
|
|
993
1139
|
"name": "skip-instructions",
|
|
994
1140
|
"allowNo": false,
|
|
995
1141
|
"type": "boolean"
|
|
1142
|
+
},
|
|
1143
|
+
"json": {
|
|
1144
|
+
"char": "j",
|
|
1145
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
1146
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
1147
|
+
"hidden": false,
|
|
1148
|
+
"name": "json",
|
|
1149
|
+
"allowNo": false,
|
|
1150
|
+
"type": "boolean"
|
|
996
1151
|
}
|
|
997
1152
|
},
|
|
998
1153
|
"hasDynamicHelp": false,
|
|
@@ -1004,13 +1159,13 @@
|
|
|
1004
1159
|
"strict": true,
|
|
1005
1160
|
"summary": "Check an app for Shopify-specific security issues and write deterministic-findings.json and agent-checks.json.",
|
|
1006
1161
|
"enableJsonFlag": false,
|
|
1007
|
-
"descriptionWithMarkdown": "Runs an app security check locally and writes `deterministic-findings.json` and `agent-checks.json` to the results directory, `.shopify/app-security/<results key>/`. The results key is `--client-id` when you pass it, and otherwise the name of the app configuration file without `.toml`; the other `app security` commands take the same selection flags and find the same directory. Every run replaces both files, so it's always safe to run the check again.\n\n`deterministic-findings.json` holds the deterministic scan results. `agent-checks.json` holds the checks for your coding agent to investigate; the agent's results are recorded with `shopify app security record`. Use `--config` to select a specific app configuration when the project has multiple `shopify.app*.toml` files; the check inspects only that configuration. Use `--client-id` to replace the configuration's client ID for this run. `--client-id` is checked against your Shopify account before anything is scanned, so it needs you to be logged in. When no app configuration exists, use `--without-app-config --client-id <client-id>` to scan `--path` anyway with config checks skipped; in an interactive terminal the command offers to do this.\n\nThe check scans the app directory and each `--include-dir`. Git ignore rules apply by default: a file or directory that Git ignores is skipped, using the rules of the repository that contains it, while files that Git tracks are always scanned. Use `--no-git-ignore` to turn Git ignore rules off for every scanned directory. When the check uses Git, it requires Git 2.38.0 or later.\n\nUse `--exclude` to skip more paths. Each value is a glob that is matched against the path relative to the working directory, so a path above it starts with `../`, and a name at any depth needs `**/`, for example `--exclude '**/generated'`. Repeat the flag to add globs. An exclusion can't remove the selected app configuration file. Quote each value so your shell doesn't expand `*`. The coding-agent instructions this check offers repeat the globs. Other `app security` commands don't take `--exclude` or `--no-git-ignore`, so pass the same flags each time you run the check.\n\nUse `--list-files` to check the scope before scanning: it prints the files the check would gather, one path per line and relative to the app directory, and then stops. It writes no results and never prompts. `--client-id` is still checked, but doesn't change the list.\n\nIn interactive terminals, the command offers to copy the coding-agent instructions, print them, or choose nothing; copying is the default. In CI and other non-interactive environments, instructions aren't offered unless you pass `--print-instructions`, which prints them. You can also run `shopify app security instructions` to print, copy, or write them later.\n\nReports the number of findings to Shopify as usage telemetry, but not finding details. See [usage reporting](https://shopify.dev/docs/api/shopify-cli#usage-reporting) for details.",
|
|
1162
|
+
"descriptionWithMarkdown": "Runs an app security check locally and writes `deterministic-findings.json` and `agent-checks.json` to the results directory, `.shopify/app-security/<results key>/`. The results key is `--client-id` when you pass it, and otherwise the name of the app configuration file without `.toml`; the other `app security` commands take the same selection flags and find the same directory. Every run replaces both files, so it's always safe to run the check again.\n\n`deterministic-findings.json` holds the deterministic scan results. `agent-checks.json` holds the checks for your coding agent to investigate; the agent's results are recorded with `shopify app security record`. Use `--config` to select a specific app configuration when the project has multiple `shopify.app*.toml` files; the check inspects only that configuration. Use `--client-id` to replace the configuration's client ID for this run. `--client-id` is checked against your Shopify account before anything is scanned, so it needs you to be logged in. When no app configuration exists, use `--without-app-config --client-id <client-id>` to scan `--path` anyway with config checks skipped; in an interactive terminal the command offers to do this.\n\nThe check scans the app directory and each `--include-dir`. Git ignore rules apply by default: a file or directory that Git ignores is skipped, using the rules of the repository that contains it, while files that Git tracks are always scanned. Use `--no-git-ignore` to turn Git ignore rules off for every scanned directory. When the check uses Git, it requires Git 2.38.0 or later.\n\nUse `--exclude` to skip more paths. Each value is a glob that is matched against the path relative to the working directory, so a path above it starts with `../`, and a name at any depth needs `**/`, for example `--exclude '**/generated'`. Repeat the flag to add globs. An exclusion can't remove the selected app configuration file. Quote each value so your shell doesn't expand `*`. The coding-agent instructions this check offers repeat the globs. Other `app security` commands don't take `--exclude` or `--no-git-ignore`, so pass the same flags each time you run the check.\n\nUse `--list-files` to check the scope before scanning: it prints the files the check would gather, one path per line and relative to the app directory, and then stops. It writes no results and never prompts. `--client-id` is still checked, but doesn't change the list. With `--json`, the result lists the files with absolute paths.\n\nIn interactive terminals, the command offers to copy the coding-agent instructions, print them, or choose nothing; copying is the default. In CI and other non-interactive environments, instructions aren't offered unless you pass `--print-instructions`, which prints them. You can also run `shopify app security instructions` to print, copy, or write them later. With `--json`, the command offers to include the instructions in the result, with or without copying them, and `--print-instructions` includes them.\n\nWith `--json`, the result describes the scan and the files it wrote, and whether `--blocking` passed, but not the findings: run `shopify app security review --json` for those.\n\nReports the number of findings to Shopify as usage telemetry, but not finding details. See [usage reporting](https://shopify.dev/docs/api/shopify-cli#usage-reporting) for details.",
|
|
1008
1163
|
"customPluginName": "@shopify/app"
|
|
1009
1164
|
},
|
|
1010
1165
|
"app:security:clean": {
|
|
1011
1166
|
"aliases": [],
|
|
1012
1167
|
"args": {},
|
|
1013
|
-
"description": "Deletes the results directory, `.shopify/app-security/<results key>/`, without asking. The results key is `--client-id` when you pass it, and otherwise the name of the app configuration file without `.toml`. Other results directories are left alone. Prints each removed path.\n\nUse `--all` to delete every results directory under `.shopify/app-security/` instead. `--all` takes neither `--config` nor `--client-id`, and with `--without-app-config` it doesn't need `--client-id
|
|
1168
|
+
"description": "Deletes the results directory, `.shopify/app-security/<results key>/`, without asking. The results key is `--client-id` when you pass it, and otherwise the name of the app configuration file without `.toml`. Other results directories are left alone. Prints each removed path.\n\nUse `--all` to delete every results directory under `.shopify/app-security/` instead. `--all` takes neither `--config` nor `--client-id`, and with `--without-app-config` it doesn't need `--client-id`.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `AppSecurityCleanResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"changed\": {\n \"type\": \"boolean\",\n \"description\": \"Whether any results directory was removed.\"\n },\n \"app\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/AppSecurityApp\"\n },\n {\n \"$ref\": \"#/definitions/AppSecurityCleanAllApp\"\n }\n ],\n \"description\": \"The selected app. With --all, only its directory.\"\n },\n \"resultsDirectories\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n },\n \"description\": \"The absolute paths of the removed results directories, sorted. Empty when there was nothing to remove.\"\n }\n },\n \"required\": [\n \"status\",\n \"changed\",\n \"app\",\n \"resultsDirectories\"\n ],\n \"additionalProperties\": false,\n \"title\": \"AppSecurityCleanResult\",\n \"definitions\": {\n \"AppSecurityApp\": {\n \"type\": \"object\",\n \"properties\": {\n \"directory\": {\n \"type\": \"string\",\n \"description\": \"The absolute app directory.\"\n },\n \"configurationPath\": {\n \"anyOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The absolute path of the selected app configuration file, or null with --without-app-config.\"\n },\n \"clientId\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"minLength\": 1\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The --client-id value when passed, otherwise the app configuration's client_id. Null when the app configuration isn't linked.\"\n }\n },\n \"required\": [\n \"directory\",\n \"configurationPath\",\n \"clientId\"\n ],\n \"additionalProperties\": false\n },\n \"AppSecurityCleanAllApp\": {\n \"type\": \"object\",\n \"properties\": {\n \"directory\": {\n \"type\": \"string\",\n \"description\": \"The absolute app directory.\"\n }\n },\n \"required\": [\n \"directory\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
1014
1169
|
"flags": {
|
|
1015
1170
|
"json-schema": {
|
|
1016
1171
|
"description": "Print the command's JSON schemas.",
|
|
@@ -1093,6 +1248,15 @@
|
|
|
1093
1248
|
"allowNo": false,
|
|
1094
1249
|
"type": "boolean"
|
|
1095
1250
|
},
|
|
1251
|
+
"json": {
|
|
1252
|
+
"char": "j",
|
|
1253
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
1254
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
1255
|
+
"hidden": false,
|
|
1256
|
+
"name": "json",
|
|
1257
|
+
"allowNo": false,
|
|
1258
|
+
"type": "boolean"
|
|
1259
|
+
},
|
|
1096
1260
|
"all": {
|
|
1097
1261
|
"description": "Delete every results directory under .shopify/app-security/, not only the selected one.",
|
|
1098
1262
|
"exclusive": [
|
|
@@ -1119,7 +1283,7 @@
|
|
|
1119
1283
|
"app:security:instructions": {
|
|
1120
1284
|
"aliases": [],
|
|
1121
1285
|
"args": {},
|
|
1122
|
-
"description": "Prints the complete workflow that a coding agent should follow to review app security check results.\n\nBy default, the instructions are printed to stdout. Use `--copy` to copy them to the clipboard or `--write` to write them to a file. Standalone instructions always start by running `shopify app security check`; only that invocation's generated review pack is trusted as workflow input.",
|
|
1286
|
+
"description": "Prints the complete workflow that a coding agent should follow to review app security check results.\n\nBy default, the instructions are printed to stdout. Use `--copy` to copy them to the clipboard or `--write` to write them to a file. Standalone instructions always start by running `shopify app security check`; only that invocation's generated review pack is trusted as workflow input.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `AppSecurityInstructionsResult` schema.\n\n```json\n{\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"app\": {\n \"$ref\": \"#/definitions/AppSecurityApp\"\n },\n \"resultsDirectory\": {\n \"type\": \"string\",\n \"description\": \"The absolute path of the results directory that the instructions use. It may not exist yet: the instructions start by running check, which creates it.\"\n },\n \"instructions\": {\n \"$ref\": \"#/definitions/AppSecurityInstructions\"\n }\n },\n \"required\": [\n \"status\",\n \"app\",\n \"resultsDirectory\",\n \"instructions\"\n ],\n \"additionalProperties\": false\n },\n {\n \"$ref\": \"#/definitions/AppSecurityInstructionsFile\"\n }\n ],\n \"description\": \"The instructions and the app they are for. With --write, only the file they were written to.\",\n \"title\": \"AppSecurityInstructionsResult\",\n \"definitions\": {\n \"AppSecurityApp\": {\n \"type\": \"object\",\n \"properties\": {\n \"directory\": {\n \"type\": \"string\",\n \"description\": \"The absolute app directory.\"\n },\n \"configurationPath\": {\n \"anyOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The absolute path of the selected app configuration file, or null with --without-app-config.\"\n },\n \"clientId\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"minLength\": 1\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The --client-id value when passed, otherwise the app configuration's client_id. Null when the app configuration isn't linked.\"\n }\n },\n \"required\": [\n \"directory\",\n \"configurationPath\",\n \"clientId\"\n ],\n \"additionalProperties\": false\n },\n \"AppSecurityInstructions\": {\n \"type\": \"object\",\n \"properties\": {\n \"content\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"The instructions in Markdown, as printed without --json.\"\n },\n \"copied\": {\n \"type\": \"boolean\",\n \"description\": \"Whether the instructions were also copied to the clipboard.\"\n }\n },\n \"required\": [\n \"content\",\n \"copied\"\n ],\n \"additionalProperties\": false\n },\n \"AppSecurityInstructionsFile\": {\n \"type\": \"object\",\n \"properties\": {\n \"path\": {\n \"type\": \"string\",\n \"description\": \"The absolute path of the file that the instructions were written to.\"\n },\n \"format\": {\n \"type\": \"string\",\n \"const\": \"markdown\",\n \"description\": \"The file holds the instructions in Markdown, not a JSON result.\"\n }\n },\n \"required\": [\n \"path\",\n \"format\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
1123
1287
|
"flags": {
|
|
1124
1288
|
"json-schema": {
|
|
1125
1289
|
"description": "Print the command's JSON schemas.",
|
|
@@ -1196,7 +1360,7 @@
|
|
|
1196
1360
|
"type": "boolean"
|
|
1197
1361
|
},
|
|
1198
1362
|
"copy": {
|
|
1199
|
-
"description": "Copy the instructions to the clipboard instead of printing them.",
|
|
1363
|
+
"description": "Copy the instructions to the clipboard instead of printing them. With --json, the result still includes them.",
|
|
1200
1364
|
"env": "SHOPIFY_FLAG_APP_SECURITY_INSTRUCTIONS_COPY",
|
|
1201
1365
|
"exclusive": [
|
|
1202
1366
|
"write"
|
|
@@ -1206,7 +1370,7 @@
|
|
|
1206
1370
|
"type": "boolean"
|
|
1207
1371
|
},
|
|
1208
1372
|
"write": {
|
|
1209
|
-
"description": "Write the instructions to a file instead of printing them.",
|
|
1373
|
+
"description": "Write the instructions to a file instead of printing them. With --json, stdout contains only the absolute path and Markdown format of the written file.",
|
|
1210
1374
|
"env": "SHOPIFY_FLAG_APP_SECURITY_INSTRUCTIONS_WRITE",
|
|
1211
1375
|
"exclusive": [
|
|
1212
1376
|
"copy"
|
|
@@ -1215,6 +1379,15 @@
|
|
|
1215
1379
|
"hasDynamicHelp": false,
|
|
1216
1380
|
"multiple": false,
|
|
1217
1381
|
"type": "option"
|
|
1382
|
+
},
|
|
1383
|
+
"json": {
|
|
1384
|
+
"char": "j",
|
|
1385
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
1386
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
1387
|
+
"hidden": false,
|
|
1388
|
+
"name": "json",
|
|
1389
|
+
"allowNo": false,
|
|
1390
|
+
"type": "boolean"
|
|
1218
1391
|
}
|
|
1219
1392
|
},
|
|
1220
1393
|
"hasDynamicHelp": false,
|
|
@@ -1232,7 +1405,7 @@
|
|
|
1232
1405
|
"app:security:record": {
|
|
1233
1406
|
"aliases": [],
|
|
1234
1407
|
"args": {},
|
|
1235
|
-
"description": "Reads a coding agent's complete findings document from stdin, validates it, and replaces `agent-findings.json` in the results directory, `.shopify/app-security/<results key>/`. The results key is `--client-id` when you pass it, and otherwise the name of the app configuration file without `.toml`. `--client-id` is checked against your Shopify account before anything is read, so it needs you to be logged in.\n\nThe document must include a `scope` with the `include_dirs`, `excludes` and `no_git_ignore` values of the `check` run it describes, exactly as typed. It's recorded as reported and never compared with the scan's files.\n\nThe document is recorded all or nothing: if anything is invalid, the command fails with every error, writes nothing, and exits with a non-zero code. It needs the results directory that `shopify app security check` creates.\n\nReports the number of findings to Shopify as usage telemetry, but not finding details. See \"usage reporting\" (https://shopify.dev/docs/api/shopify-cli#usage-reporting) for details.",
|
|
1408
|
+
"description": "Reads a coding agent's complete findings document from stdin, validates it, and replaces `agent-findings.json` in the results directory, `.shopify/app-security/<results key>/`. The results key is `--client-id` when you pass it, and otherwise the name of the app configuration file without `.toml`. `--client-id` is checked against your Shopify account before anything is read, so it needs you to be logged in.\n\nThe document must include a `scope` with the `include_dirs`, `excludes` and `no_git_ignore` values of the `check` run it describes, exactly as typed. It's recorded as reported and never compared with the scan's files.\n\nThe document is recorded all or nothing: if anything is invalid, the command fails with every error, writes nothing, and exits with a non-zero code. It needs the results directory that `shopify app security check` creates.\n\nReports the number of findings to Shopify as usage telemetry, but not finding details. See \"usage reporting\" (https://shopify.dev/docs/api/shopify-cli#usage-reporting) for details.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `AppSecurityRecordResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"app\": {\n \"$ref\": \"#/definitions/AppSecurityApp\"\n },\n \"resultsDirectory\": {\n \"type\": \"string\",\n \"description\": \"The absolute path of the results directory.\"\n },\n \"path\": {\n \"type\": \"string\",\n \"description\": \"The absolute path of the agent-findings.json file that was written.\"\n },\n \"checkCount\": {\n \"type\": \"integer\",\n \"minimum\": 0,\n \"description\": \"The number of checks recorded.\"\n },\n \"findingCount\": {\n \"type\": \"integer\",\n \"minimum\": 0,\n \"description\": \"The number of findings recorded, across every check.\"\n }\n },\n \"required\": [\n \"status\",\n \"app\",\n \"resultsDirectory\",\n \"path\",\n \"checkCount\",\n \"findingCount\"\n ],\n \"additionalProperties\": false,\n \"title\": \"AppSecurityRecordResult\",\n \"definitions\": {\n \"AppSecurityApp\": {\n \"type\": \"object\",\n \"properties\": {\n \"directory\": {\n \"type\": \"string\",\n \"description\": \"The absolute app directory.\"\n },\n \"configurationPath\": {\n \"anyOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The absolute path of the selected app configuration file, or null with --without-app-config.\"\n },\n \"clientId\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"minLength\": 1\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The --client-id value when passed, otherwise the app configuration's client_id. Null when the app configuration isn't linked.\"\n }\n },\n \"required\": [\n \"directory\",\n \"configurationPath\",\n \"clientId\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
1236
1409
|
"flags": {
|
|
1237
1410
|
"json-schema": {
|
|
1238
1411
|
"description": "Print the command's JSON schemas.",
|
|
@@ -1307,6 +1480,15 @@
|
|
|
1307
1480
|
"name": "without-app-config",
|
|
1308
1481
|
"allowNo": false,
|
|
1309
1482
|
"type": "boolean"
|
|
1483
|
+
},
|
|
1484
|
+
"json": {
|
|
1485
|
+
"char": "j",
|
|
1486
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
1487
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
1488
|
+
"hidden": false,
|
|
1489
|
+
"name": "json",
|
|
1490
|
+
"allowNo": false,
|
|
1491
|
+
"type": "boolean"
|
|
1310
1492
|
}
|
|
1311
1493
|
},
|
|
1312
1494
|
"hasDynamicHelp": false,
|
|
@@ -1324,7 +1506,7 @@
|
|
|
1324
1506
|
"app:security:review": {
|
|
1325
1507
|
"aliases": [],
|
|
1326
1508
|
"args": {},
|
|
1327
|
-
"description": "Combines the deterministic results (`deterministic-findings.json`, written by `shopify app security check`) with the recorded agent results (`agent-findings.json`, written by `shopify app security record`) and shows one view of every check: its findings, status and source. Both files are in the results directory, `.shopify/app-security/<results key>/`. `--client-id` is checked against your Shopify account before any results are read, so it needs you to be logged in.\n\nThe summary shows the scan directories and the scope of the latest scan, and the scope the agent reported. It notes when the agent findings were recorded for a different scope than the latest scan; that doesn't change the exit code.\n\nThe agent results are optional. Use `--check-id` to narrow the review to specific checks, `--verbose` for full reasoning, evidence and suppressed findings, and `--blocking` to exit with code 1 when a check with findings is at or above a severity.\n\nReports the number of findings to Shopify as usage telemetry, but not finding details. See \"usage reporting\" (https://shopify.dev/docs/api/shopify-cli#usage-reporting) for details.",
|
|
1509
|
+
"description": "Combines the deterministic results (`deterministic-findings.json`, written by `shopify app security check`) with the recorded agent results (`agent-findings.json`, written by `shopify app security record`) and shows one view of every check: its findings, status and source. Both files are in the results directory, `.shopify/app-security/<results key>/`. `--client-id` is checked against your Shopify account before any results are read, so it needs you to be logged in.\n\nThe summary shows the scan directories and the scope of the latest scan, and the scope the agent reported. It notes when the agent findings were recorded for a different scope than the latest scan; that doesn't change the exit code.\n\nThe agent results are optional. Use `--check-id` to narrow the review to specific checks, `--verbose` for full reasoning, evidence and suppressed findings, and `--blocking` to exit with code 1 when a check with findings is at or above a severity. With `--json`, the result always includes every finding in full.\n\nReports the number of findings to Shopify as usage telemetry, but not finding details. See \"usage reporting\" (https://shopify.dev/docs/api/shopify-cli#usage-reporting) for details.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `AppSecurityReviewResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"valid\": {\n \"type\": \"boolean\",\n \"description\": \"Whether --blocking passed: no check in checks has an active finding and a severity at or above the level. Unresolved checks never fail it, and --blocking none always passes.\"\n },\n \"app\": {\n \"$ref\": \"#/definitions/AppSecurityApp\"\n },\n \"resultsDirectory\": {\n \"type\": \"string\",\n \"description\": \"The absolute path of the results directory.\"\n },\n \"resultsFiles\": {\n \"type\": \"object\",\n \"properties\": {\n \"deterministic\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/AppSecurityDeterministicResultsFile\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"deterministic-findings.json, which check writes, with the scope of the scan.\"\n },\n \"agent\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/AppSecurityAgentResultsFile\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"agent-findings.json, which record writes, with the scope that the agent reported.\"\n }\n },\n \"required\": [\n \"deterministic\",\n \"agent\"\n ],\n \"additionalProperties\": false,\n \"description\": \"The results files that the review combines. Null when a file does not exist.\"\n },\n \"detection\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/AppSecurityDetection\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"What the latest check detected in the app, or null without deterministic-findings.json.\"\n },\n \"coverage\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/AppSecurityCoverage\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"What the latest check covered, or null without deterministic-findings.json.\"\n },\n \"scopeDiffers\": {\n \"type\": \"boolean\",\n \"description\": \"Whether the agent reported another scope than the latest scan used. False unless both results files exist.\"\n },\n \"checks\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/AppSecurityCheck\"\n },\n \"description\": \"The checks after --check-id, most severe first, then by ID. Empty when no results file exists.\"\n },\n \"blocking\": {\n \"$ref\": \"#/definitions/AppSecurityBlocking\"\n }\n },\n \"required\": [\n \"status\",\n \"valid\",\n \"app\",\n \"resultsDirectory\",\n \"resultsFiles\",\n \"detection\",\n \"coverage\",\n \"scopeDiffers\",\n \"checks\",\n \"blocking\"\n ],\n \"additionalProperties\": false,\n \"description\": \"The combined results of the app security check.\",\n \"title\": \"AppSecurityReviewResult\",\n \"definitions\": {\n \"AppSecurityApp\": {\n \"type\": \"object\",\n \"properties\": {\n \"directory\": {\n \"type\": \"string\",\n \"description\": \"The absolute app directory.\"\n },\n \"configurationPath\": {\n \"anyOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The absolute path of the selected app configuration file, or null with --without-app-config.\"\n },\n \"clientId\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"minLength\": 1\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The --client-id value when passed, otherwise the app configuration's client_id. Null when the app configuration isn't linked.\"\n }\n },\n \"required\": [\n \"directory\",\n \"configurationPath\",\n \"clientId\"\n ],\n \"additionalProperties\": false\n },\n \"AppSecurityScope\": {\n \"type\": \"object\",\n \"properties\": {\n \"includeDirs\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n },\n \"description\": \"The --include-dir values.\"\n },\n \"excludes\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n },\n \"description\": \"The --exclude globs.\"\n },\n \"noGitIgnore\": {\n \"type\": \"boolean\",\n \"description\": \"Whether --no-git-ignore was passed.\"\n }\n },\n \"required\": [\n \"includeDirs\",\n \"excludes\",\n \"noGitIgnore\"\n ],\n \"additionalProperties\": false,\n \"description\": \"The check flags that chose which files were gathered, exactly as typed.\"\n },\n \"AppSecurityScanDirectory\": {\n \"type\": \"object\",\n \"properties\": {\n \"directory\": {\n \"type\": \"string\",\n \"description\": \"The absolute path of the directory.\"\n },\n \"origin\": {\n \"type\": \"string\",\n \"enum\": [\n \"app-directory\",\n \"include-dir\",\n \"app-config-directory\"\n ],\n \"description\": \"Why it was scanned: it is the app directory, an --include-dir value, or an extension or web directory of the app configuration.\"\n }\n },\n \"required\": [\n \"directory\",\n \"origin\"\n ],\n \"additionalProperties\": false,\n \"description\": \"A directory that check scanned.\"\n },\n \"AppSecurityBlocking\": {\n \"type\": \"object\",\n \"properties\": {\n \"level\": {\n \"type\": \"string\",\n \"enum\": [\n \"high\",\n \"medium\",\n \"low\",\n \"none\"\n ],\n \"description\": \"The --blocking severity.\"\n },\n \"blockedCheckCount\": {\n \"type\": \"integer\",\n \"minimum\": 0,\n \"description\": \"The number of checks with findings at or above that severity. Always 0 for none.\"\n }\n },\n \"required\": [\n \"level\",\n \"blockedCheckCount\"\n ],\n \"additionalProperties\": false,\n \"description\": \"The --blocking policy and the checks that fail it.\"\n },\n \"AppSecurityDeterministicResultsFile\": {\n \"type\": \"object\",\n \"properties\": {\n \"path\": {\n \"type\": \"string\",\n \"description\": \"The absolute path of deterministic-findings.json.\"\n },\n \"generatedAt\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"pattern\": \"^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}Z$\",\n \"description\": \"A UTC ISO 8601 instant with whole seconds and the Z timezone marker.\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"When check wrote the file, or null when the recorded time is not a valid instant.\"\n },\n \"engine\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"version\": {\n \"type\": \"string\"\n },\n \"ruleset\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"name\",\n \"version\",\n \"ruleset\"\n ],\n \"additionalProperties\": false\n },\n \"scope\": {\n \"$ref\": \"#/definitions/AppSecurityScope\"\n }\n },\n \"required\": [\n \"path\",\n \"generatedAt\",\n \"engine\",\n \"scope\"\n ],\n \"additionalProperties\": false,\n \"description\": \"deterministic-findings.json, which check writes, with the scope of the scan.\"\n },\n \"AppSecurityAgentResultsFile\": {\n \"type\": \"object\",\n \"properties\": {\n \"path\": {\n \"type\": \"string\",\n \"description\": \"The absolute path of agent-findings.json.\"\n },\n \"generatedAt\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"pattern\": \"^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}Z$\",\n \"description\": \"A UTC ISO 8601 instant with whole seconds and the Z timezone marker.\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"When record wrote the file, or null when the recorded time is not a valid instant.\"\n },\n \"engine\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"version\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"name\",\n \"version\"\n ],\n \"additionalProperties\": false\n },\n \"scope\": {\n \"$ref\": \"#/definitions/AppSecurityScope\"\n }\n },\n \"required\": [\n \"path\",\n \"generatedAt\",\n \"engine\",\n \"scope\"\n ],\n \"additionalProperties\": false,\n \"description\": \"agent-findings.json, which record writes, with the scope that the agent reported.\"\n },\n \"AppSecurityDetection\": {\n \"type\": \"object\",\n \"properties\": {\n \"framework\": {\n \"type\": \"string\",\n \"enum\": [\n \"react-router\",\n \"none\",\n \"unknown\",\n \"mixed\"\n ]\n },\n \"surface\": {\n \"type\": \"string\",\n \"enum\": [\n \"react-router\",\n \"theme-app-extension\",\n \"config-only\",\n \"unknown\",\n \"mixed\"\n ]\n },\n \"languages\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\",\n \"description\": \"The language, such as typescript.\"\n },\n \"support\": {\n \"type\": \"string\",\n \"enum\": [\n \"supported\",\n \"unsupported\"\n ],\n \"description\": \"Whether the deterministic checks analyze it.\"\n },\n \"files\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"path\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"path\"\n ],\n \"additionalProperties\": false\n }\n }\n },\n \"required\": [\n \"name\",\n \"support\",\n \"files\"\n ],\n \"additionalProperties\": false\n }\n }\n },\n \"required\": [\n \"framework\",\n \"surface\",\n \"languages\"\n ],\n \"additionalProperties\": false,\n \"description\": \"What the latest check detected in the app.\"\n },\n \"AppSecurityCoverage\": {\n \"type\": \"object\",\n \"properties\": {\n \"filesScanned\": {\n \"type\": \"integer\",\n \"minimum\": 0,\n \"description\": \"The number of files scanned.\"\n },\n \"filesSkipped\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"path\": {\n \"type\": \"string\"\n },\n \"reason\": {\n \"type\": \"string\",\n \"enum\": [\n \"too-large\",\n \"unreadable\"\n ]\n },\n \"sizeBytes\": {\n \"anyOf\": [\n {\n \"type\": \"integer\",\n \"minimum\": 0\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The file size, or null when unknown.\"\n },\n \"detail\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"minLength\": 1\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"Why the file was unreadable, or null when none is recorded.\"\n }\n },\n \"required\": [\n \"path\",\n \"reason\",\n \"sizeBytes\",\n \"detail\"\n ],\n \"additionalProperties\": false\n }\n },\n \"gaps\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"string\",\n \"enum\": [\n \"skipped-file\",\n \"unsupported-framework\",\n \"unsupported-language\",\n \"unresolved-check\"\n ]\n },\n \"message\": {\n \"type\": \"string\"\n },\n \"checkId\": {\n \"type\": [\n \"string\",\n \"null\"\n ],\n \"description\": \"The check that the gap concerns, or null.\"\n },\n \"filePath\": {\n \"anyOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The file that the gap concerns, or null.\"\n }\n },\n \"required\": [\n \"code\",\n \"message\",\n \"checkId\",\n \"filePath\"\n ],\n \"additionalProperties\": false\n }\n },\n \"scanDirectories\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/AppSecurityScanDirectory\"\n }\n }\n },\n \"required\": [\n \"filesScanned\",\n \"filesSkipped\",\n \"gaps\",\n \"scanDirectories\"\n ],\n \"additionalProperties\": false,\n \"description\": \"What the latest check covered.\"\n },\n \"AppSecurityCheck\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"string\",\n \"description\": \"The check ID, such as CREDENTIAL_LOG_LEAKAGE.\"\n },\n \"title\": {\n \"type\": \"string\"\n },\n \"severity\": {\n \"type\": \"string\",\n \"enum\": [\n \"high\",\n \"medium\",\n \"low\"\n ]\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"guide\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"minLength\": 1\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"A guide to the check, or null when none is recorded.\"\n },\n \"docsUrl\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The check's page on shopify.dev, or null when the results files predate it.\"\n },\n \"precedence\": {\n \"type\": \"string\",\n \"enum\": [\n \"union\",\n \"prefer-agent\"\n ],\n \"description\": \"How the sources combine: union keeps both sources' findings; prefer-agent lets the agent result replace the deterministic one.\"\n },\n \"appliedPrecedence\": {\n \"type\": \"string\",\n \"enum\": [\n \"union\",\n \"prefer-agent\"\n ],\n \"description\": \"The precedence that applied: union when a prefer-agent agent result is older than the deterministic one.\"\n },\n \"status\": {\n \"type\": \"string\",\n \"enum\": [\n \"executed\",\n \"not-applicable\",\n \"unresolved\"\n ],\n \"description\": \"The combined status. Under union, executed when either source executed the check.\"\n },\n \"bySource\": {\n \"type\": \"object\",\n \"properties\": {\n \"deterministic\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/AppSecuritySourceResult\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"One source's own result for a check.\"\n },\n \"agent\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/AppSecuritySourceResult\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"One source's own result for a check.\"\n }\n },\n \"required\": [\n \"deterministic\",\n \"agent\"\n ],\n \"additionalProperties\": false,\n \"description\": \"Each source's own result, or null when that source didn't record the check.\"\n },\n \"findings\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/AppSecurityFinding\"\n },\n \"description\": \"Every finding of both sources, including suppressed and superseded ones, whatever --verbose. Sorted by file, line, then source.\"\n }\n },\n \"required\": [\n \"id\",\n \"title\",\n \"severity\",\n \"description\",\n \"guide\",\n \"docsUrl\",\n \"precedence\",\n \"appliedPrecedence\",\n \"status\",\n \"bySource\",\n \"findings\"\n ],\n \"additionalProperties\": false,\n \"description\": \"One check, combined from both results files.\"\n },\n \"AppSecuritySourceResult\": {\n \"type\": \"object\",\n \"properties\": {\n \"version\": {\n \"type\": \"integer\",\n \"exclusiveMinimum\": 0,\n \"description\": \"The check version: the catalog version for deterministic results, the one the agent claimed for agent results.\"\n },\n \"status\": {\n \"type\": \"string\",\n \"enum\": [\n \"executed\",\n \"not-applicable\",\n \"unresolved\"\n ],\n \"description\": \"The source's own status for the check.\"\n },\n \"reason\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"string\",\n \"description\": \"A short code. Agent codes are free-form. Deterministic codes: capability_absent, no_relevant_files, unsupported_framework, unsupported_language, parser_unavailable, agent_investigation_required, input_rejected.\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"code\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"Why the check is unresolved or not applicable, or null when none is recorded.\"\n },\n \"analysisMode\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"enum\": [\n \"regex\",\n \"structured-config\",\n \"ast\"\n ]\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"How the deterministic check analyzed the files. Null for agent results.\"\n },\n \"generatedAt\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"pattern\": \"^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}Z$\",\n \"description\": \"A UTC ISO 8601 instant with whole seconds and the Z timezone marker.\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"When the source recorded the check, or null when the recorded time is not a valid instant.\"\n }\n },\n \"required\": [\n \"version\",\n \"status\",\n \"reason\",\n \"analysisMode\",\n \"generatedAt\"\n ],\n \"additionalProperties\": false,\n \"description\": \"One source's own result for a check.\"\n },\n \"AppSecurityFinding\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/AppSecurityDeterministicFinding\"\n },\n {\n \"$ref\": \"#/definitions/AppSecurityAgentFinding\"\n }\n ]\n },\n \"AppSecurityDeterministicFinding\": {\n \"type\": \"object\",\n \"properties\": {\n \"source\": {\n \"type\": \"string\",\n \"const\": \"deterministic\"\n },\n \"disposition\": {\n \"type\": \"string\",\n \"enum\": [\n \"active\",\n \"suppressed\",\n \"superseded\"\n ],\n \"description\": \"Whether the finding counts: active; suppressed by the agent; or superseded, a deterministic finding that a check's prefer-agent agent result replaces.\"\n },\n \"location\": {\n \"$ref\": \"#/definitions/AppSecurityLocation\"\n },\n \"message\": {\n \"type\": \"string\",\n \"description\": \"What the finding is, redacted.\"\n },\n \"snippet\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"minLength\": 1\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The flagged code, redacted, or null when none is recorded.\"\n },\n \"evidence\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/AppSecurityEvidence\"\n }\n },\n \"fix\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"description\": {\n \"type\": \"string\"\n },\n \"guide\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"minLength\": 1\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"A guide to the fix, or null when none is recorded.\"\n },\n \"automated\": {\n \"type\": \"boolean\",\n \"description\": \"Whether the fix can be applied automatically.\"\n }\n },\n \"required\": [\n \"description\",\n \"guide\",\n \"automated\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"How to fix the finding, or null when none is recorded.\"\n }\n },\n \"required\": [\n \"source\",\n \"disposition\",\n \"location\",\n \"message\",\n \"snippet\",\n \"evidence\",\n \"fix\"\n ],\n \"additionalProperties\": false,\n \"description\": \"A finding from deterministic-findings.json.\"\n },\n \"AppSecurityAgentFinding\": {\n \"type\": \"object\",\n \"properties\": {\n \"source\": {\n \"type\": \"string\",\n \"const\": \"agent\"\n },\n \"disposition\": {\n \"type\": \"string\",\n \"enum\": [\n \"active\",\n \"suppressed\",\n \"superseded\"\n ],\n \"description\": \"Whether the finding counts: active; suppressed by the agent; or superseded, a deterministic finding that a check's prefer-agent agent result replaces.\"\n },\n \"location\": {\n \"$ref\": \"#/definitions/AppSecurityLocation\"\n },\n \"message\": {\n \"type\": \"string\",\n \"description\": \"What the finding is, redacted.\"\n },\n \"snippet\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"minLength\": 1\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The flagged code, redacted, or null when none is recorded.\"\n },\n \"evidence\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/AppSecurityEvidence\"\n }\n },\n \"confidence\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"enum\": [\n \"high\",\n \"medium\",\n \"low\"\n ]\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The agent's confidence, or null when it didn't report one.\"\n },\n \"reasoning\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"minLength\": 1\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The agent's reasoning, redacted, or null when none is recorded.\"\n },\n \"suppression\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"justification\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"justification\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"Why the agent suppressed the finding, or null when it is not suppressed.\"\n }\n },\n \"required\": [\n \"source\",\n \"disposition\",\n \"location\",\n \"message\",\n \"snippet\",\n \"evidence\",\n \"confidence\",\n \"reasoning\",\n \"suppression\"\n ],\n \"additionalProperties\": false,\n \"description\": \"A finding from agent-findings.json.\"\n },\n \"AppSecurityLocation\": {\n \"type\": \"object\",\n \"properties\": {\n \"filePath\": {\n \"type\": \"string\",\n \"description\": \"The absolute path of the file.\"\n },\n \"line\": {\n \"anyOf\": [\n {\n \"type\": \"integer\",\n \"exclusiveMinimum\": 0\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The one-based line, or null for the whole file.\"\n },\n \"column\": {\n \"anyOf\": [\n {\n \"type\": \"integer\",\n \"exclusiveMinimum\": 0\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The one-based column, or null when none is recorded.\"\n }\n },\n \"required\": [\n \"filePath\",\n \"line\",\n \"column\"\n ],\n \"additionalProperties\": false,\n \"description\": \"A place in a file.\"\n },\n \"AppSecurityEvidence\": {\n \"type\": \"object\",\n \"properties\": {\n \"location\": {\n \"$ref\": \"#/definitions/AppSecurityLocation\"\n },\n \"quote\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"minLength\": 1\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The quoted source, redacted, or null when none is recorded.\"\n }\n },\n \"required\": [\n \"location\",\n \"quote\"\n ],\n \"additionalProperties\": false,\n \"description\": \"Source that supports a finding.\"\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
1328
1510
|
"flags": {
|
|
1329
1511
|
"json-schema": {
|
|
1330
1512
|
"description": "Print the command's JSON schemas.",
|
|
@@ -1422,6 +1604,15 @@
|
|
|
1422
1604
|
"none"
|
|
1423
1605
|
],
|
|
1424
1606
|
"type": "option"
|
|
1607
|
+
},
|
|
1608
|
+
"json": {
|
|
1609
|
+
"char": "j",
|
|
1610
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
1611
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
1612
|
+
"hidden": false,
|
|
1613
|
+
"name": "json",
|
|
1614
|
+
"allowNo": false,
|
|
1615
|
+
"type": "boolean"
|
|
1425
1616
|
}
|
|
1426
1617
|
},
|
|
1427
1618
|
"hasDynamicHelp": false,
|
|
@@ -1433,13 +1624,69 @@
|
|
|
1433
1624
|
"strict": true,
|
|
1434
1625
|
"summary": "Show the combined app security check results.",
|
|
1435
1626
|
"enableJsonFlag": false,
|
|
1436
|
-
"descriptionWithMarkdown": "Combines the deterministic results (`deterministic-findings.json`, written by `shopify app security check`) with the recorded agent results (`agent-findings.json`, written by `shopify app security record`) and shows one view of every check: its findings, status and source. Both files are in the results directory, `.shopify/app-security/<results key>/`. `--client-id` is checked against your Shopify account before any results are read, so it needs you to be logged in.\n\nThe summary shows the scan directories and the scope of the latest scan, and the scope the agent reported. It notes when the agent findings were recorded for a different scope than the latest scan; that doesn't change the exit code.\n\nThe agent results are optional. Use `--check-id` to narrow the review to specific checks, `--verbose` for full reasoning, evidence and suppressed findings, and `--blocking` to exit with code 1 when a check with findings is at or above a severity.\n\nReports the number of findings to Shopify as usage telemetry, but not finding details. See [usage reporting](https://shopify.dev/docs/api/shopify-cli#usage-reporting) for details.",
|
|
1627
|
+
"descriptionWithMarkdown": "Combines the deterministic results (`deterministic-findings.json`, written by `shopify app security check`) with the recorded agent results (`agent-findings.json`, written by `shopify app security record`) and shows one view of every check: its findings, status and source. Both files are in the results directory, `.shopify/app-security/<results key>/`. `--client-id` is checked against your Shopify account before any results are read, so it needs you to be logged in.\n\nThe summary shows the scan directories and the scope of the latest scan, and the scope the agent reported. It notes when the agent findings were recorded for a different scope than the latest scan; that doesn't change the exit code.\n\nThe agent results are optional. Use `--check-id` to narrow the review to specific checks, `--verbose` for full reasoning, evidence and suppressed findings, and `--blocking` to exit with code 1 when a check with findings is at or above a severity. With `--json`, the result always includes every finding in full.\n\nReports the number of findings to Shopify as usage telemetry, but not finding details. See [usage reporting](https://shopify.dev/docs/api/shopify-cli#usage-reporting) for details.",
|
|
1437
1628
|
"customPluginName": "@shopify/app"
|
|
1438
1629
|
},
|
|
1439
1630
|
"app:logs": {
|
|
1440
1631
|
"aliases": [],
|
|
1441
1632
|
"args": {},
|
|
1442
|
-
"
|
|
1633
|
+
"flags": {
|
|
1634
|
+
"json-schema": {
|
|
1635
|
+
"description": "Print the command's JSON schemas.",
|
|
1636
|
+
"env": "SHOPIFY_FLAG_JSON_SCHEMA",
|
|
1637
|
+
"name": "json-schema",
|
|
1638
|
+
"allowNo": false,
|
|
1639
|
+
"type": "boolean"
|
|
1640
|
+
},
|
|
1641
|
+
"no-input": {
|
|
1642
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
1643
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
1644
|
+
"name": "no-input",
|
|
1645
|
+
"allowNo": false,
|
|
1646
|
+
"type": "boolean"
|
|
1647
|
+
},
|
|
1648
|
+
"no-color": {
|
|
1649
|
+
"description": "Disable color output.",
|
|
1650
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
1651
|
+
"hidden": false,
|
|
1652
|
+
"name": "no-color",
|
|
1653
|
+
"allowNo": false,
|
|
1654
|
+
"type": "boolean"
|
|
1655
|
+
},
|
|
1656
|
+
"verbose": {
|
|
1657
|
+
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
1658
|
+
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
1659
|
+
"hidden": false,
|
|
1660
|
+
"name": "verbose",
|
|
1661
|
+
"allowNo": false,
|
|
1662
|
+
"type": "boolean"
|
|
1663
|
+
},
|
|
1664
|
+
"json": {
|
|
1665
|
+
"char": "j",
|
|
1666
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
1667
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
1668
|
+
"hidden": false,
|
|
1669
|
+
"name": "json",
|
|
1670
|
+
"allowNo": false,
|
|
1671
|
+
"type": "boolean"
|
|
1672
|
+
}
|
|
1673
|
+
},
|
|
1674
|
+
"hasDynamicHelp": false,
|
|
1675
|
+
"hidden": true,
|
|
1676
|
+
"hiddenAliases": [],
|
|
1677
|
+
"id": "app:logs",
|
|
1678
|
+
"pluginAlias": "shopify",
|
|
1679
|
+
"pluginName": "shopify",
|
|
1680
|
+
"pluginType": "core",
|
|
1681
|
+
"strict": false,
|
|
1682
|
+
"summary": "App logs were removed in Shopify CLI 5.0.",
|
|
1683
|
+
"enableJsonFlag": false,
|
|
1684
|
+
"customPluginName": "@shopify/app"
|
|
1685
|
+
},
|
|
1686
|
+
"app:import:channel-config": {
|
|
1687
|
+
"aliases": [],
|
|
1688
|
+
"args": {},
|
|
1689
|
+
"description": "Imports the Shopify-authored channel spec for your app as a `channel_config` extension.\n\n The generated TOML only includes public `channel_config` fields. Review it, then deploy it with `shopify app deploy`.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `ImportChannelConfigResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"handle\": {\n \"type\": \"string\",\n \"minLength\": 1\n },\n \"filename\": {\n \"type\": \"string\",\n \"minLength\": 1\n },\n \"path\": {\n \"type\": \"string\",\n \"pattern\": \"^(?:\\\\/|[a-zA-Z]:[\\\\\\\\/]|\\\\\\\\\\\\\\\\)\",\n \"description\": \"Absolute path of the written TOML file.\"\n },\n \"toml\": {\n \"type\": \"string\",\n \"description\": \"Native channel_config TOML content, unchanged from the export.\"\n },\n \"warnings\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/ChannelSpecExportWarning\"\n },\n \"description\": \"Warnings returned with the channel spec export.\"\n }\n },\n \"required\": [\n \"status\",\n \"handle\",\n \"filename\",\n \"path\",\n \"toml\",\n \"warnings\"\n ],\n \"additionalProperties\": false,\n \"title\": \"ImportChannelConfigResult\",\n \"definitions\": {\n \"ChannelSpecExportWarning\": {\n \"type\": \"object\",\n \"properties\": {\n \"code\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"code\",\n \"message\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
1443
1690
|
"flags": {
|
|
1444
1691
|
"json-schema": {
|
|
1445
1692
|
"description": "Print the command's JSON schemas.",
|
|
@@ -1530,51 +1777,30 @@
|
|
|
1530
1777
|
"allowNo": false,
|
|
1531
1778
|
"type": "boolean"
|
|
1532
1779
|
},
|
|
1533
|
-
"
|
|
1534
|
-
"
|
|
1535
|
-
"
|
|
1536
|
-
"
|
|
1537
|
-
"
|
|
1538
|
-
"
|
|
1539
|
-
"multiple": true,
|
|
1540
|
-
"type": "option"
|
|
1541
|
-
},
|
|
1542
|
-
"source": {
|
|
1543
|
-
"description": "Filters output to the specified log source.",
|
|
1544
|
-
"env": "SHOPIFY_FLAG_SOURCE",
|
|
1545
|
-
"name": "source",
|
|
1546
|
-
"hasDynamicHelp": false,
|
|
1547
|
-
"multiple": true,
|
|
1548
|
-
"type": "option"
|
|
1549
|
-
},
|
|
1550
|
-
"status": {
|
|
1551
|
-
"description": "Filters output to the specified status (success or failure).",
|
|
1552
|
-
"env": "SHOPIFY_FLAG_STATUS",
|
|
1553
|
-
"name": "status",
|
|
1554
|
-
"hasDynamicHelp": false,
|
|
1555
|
-
"multiple": false,
|
|
1556
|
-
"options": [
|
|
1557
|
-
"success",
|
|
1558
|
-
"failure"
|
|
1559
|
-
],
|
|
1560
|
-
"type": "option"
|
|
1780
|
+
"force": {
|
|
1781
|
+
"description": "Overwrite the existing channel spec file without prompting.",
|
|
1782
|
+
"env": "SHOPIFY_FLAG_FORCE",
|
|
1783
|
+
"name": "force",
|
|
1784
|
+
"allowNo": false,
|
|
1785
|
+
"type": "boolean"
|
|
1561
1786
|
}
|
|
1562
1787
|
},
|
|
1563
1788
|
"hasDynamicHelp": false,
|
|
1789
|
+
"hidden": true,
|
|
1564
1790
|
"hiddenAliases": [],
|
|
1565
|
-
"id": "app:
|
|
1791
|
+
"id": "app:import:channel-config",
|
|
1566
1792
|
"pluginAlias": "shopify",
|
|
1567
1793
|
"pluginName": "shopify",
|
|
1568
1794
|
"pluginType": "core",
|
|
1569
1795
|
"strict": true,
|
|
1570
|
-
"summary": "
|
|
1571
|
-
"descriptionWithMarkdown": "
|
|
1796
|
+
"summary": "Import your app's default channel spec as a channel_config extension.",
|
|
1797
|
+
"descriptionWithMarkdown": "Imports the Shopify-authored channel spec for your app as a `channel_config` extension.\n\n The generated TOML only includes public `channel_config` fields. Review it, then deploy it with `shopify app deploy`.",
|
|
1572
1798
|
"customPluginName": "@shopify/app"
|
|
1573
1799
|
},
|
|
1574
|
-
"app:
|
|
1800
|
+
"app:import:custom-data-definitions": {
|
|
1575
1801
|
"aliases": [],
|
|
1576
1802
|
"args": {},
|
|
1577
|
-
"description": "
|
|
1803
|
+
"description": "Import metafield and metaobject definitions from your development store. \"Read more about declarative custom data definitions\" (https://shopify.dev/docs/apps/build/custom-data/declarative-custom-data-definitions).\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `ImportCustomDataDefinitionsResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"storeDomain\": {\n \"type\": [\n \"string\",\n \"null\"\n ],\n \"description\": \"The full myshopify.com domain of the development store, or null when unavailable.\"\n },\n \"metafieldCount\": {\n \"type\": \"integer\",\n \"minimum\": 0,\n \"description\": \"The number of available metafields converted to TOML.\"\n },\n \"metaobjectCount\": {\n \"type\": \"integer\",\n \"minimum\": 0,\n \"description\": \"The number of available metaobjects converted to TOML.\"\n },\n \"toml\": {\n \"type\": \"string\",\n \"description\": \"Suggested native TOML for app-reserved definitions. No file is written.\"\n },\n \"skippedSections\": {\n \"type\": \"array\",\n \"items\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/SkippedMetafields\"\n },\n {\n \"$ref\": \"#/definitions/SkippedMetaobjects\"\n }\n ]\n },\n \"description\": \"Sections skipped because required access scopes are unavailable. An empty array means all requests were authorized.\"\n }\n },\n \"required\": [\n \"status\",\n \"storeDomain\",\n \"metafieldCount\",\n \"metaobjectCount\",\n \"toml\",\n \"skippedSections\"\n ],\n \"additionalProperties\": false,\n \"title\": \"ImportCustomDataDefinitionsResult\",\n \"definitions\": {\n \"SkippedMetafields\": {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"metafields\"\n },\n \"ownerType\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"The Admin API metafield owner type, such as PRODUCT.\"\n }\n },\n \"required\": [\n \"type\",\n \"ownerType\"\n ],\n \"additionalProperties\": false\n },\n \"SkippedMetaobjects\": {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"metaobjects\"\n }\n },\n \"required\": [\n \"type\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
1578
1804
|
"flags": {
|
|
1579
1805
|
"json-schema": {
|
|
1580
1806
|
"description": "Print the command's JSON schemas.",
|
|
@@ -1664,23 +1890,39 @@
|
|
|
1664
1890
|
"name": "json",
|
|
1665
1891
|
"allowNo": false,
|
|
1666
1892
|
"type": "boolean"
|
|
1893
|
+
},
|
|
1894
|
+
"store": {
|
|
1895
|
+
"char": "s",
|
|
1896
|
+
"description": "Store URL. Must be an existing development or Shopify Plus sandbox store.",
|
|
1897
|
+
"env": "SHOPIFY_FLAG_STORE",
|
|
1898
|
+
"name": "store",
|
|
1899
|
+
"hasDynamicHelp": false,
|
|
1900
|
+
"multiple": false,
|
|
1901
|
+
"type": "option"
|
|
1902
|
+
},
|
|
1903
|
+
"include-existing": {
|
|
1904
|
+
"description": "Include existing declared definitions in the output.",
|
|
1905
|
+
"env": "SHOPIFY_FLAG_INCLUDE_EXISTING",
|
|
1906
|
+
"name": "include-existing",
|
|
1907
|
+
"allowNo": false,
|
|
1908
|
+
"type": "boolean"
|
|
1667
1909
|
}
|
|
1668
1910
|
},
|
|
1669
1911
|
"hasDynamicHelp": false,
|
|
1670
1912
|
"hiddenAliases": [],
|
|
1671
|
-
"id": "app:
|
|
1913
|
+
"id": "app:import:custom-data-definitions",
|
|
1672
1914
|
"pluginAlias": "shopify",
|
|
1673
1915
|
"pluginName": "shopify",
|
|
1674
1916
|
"pluginType": "core",
|
|
1675
1917
|
"strict": true,
|
|
1676
|
-
"summary": "
|
|
1677
|
-
"descriptionWithMarkdown": "
|
|
1918
|
+
"summary": "Import metafield and metaobject definitions.",
|
|
1919
|
+
"descriptionWithMarkdown": "Import metafield and metaobject definitions from your development store. [Read more about declarative custom data definitions](https://shopify.dev/docs/apps/build/custom-data/declarative-custom-data-definitions).",
|
|
1678
1920
|
"customPluginName": "@shopify/app"
|
|
1679
1921
|
},
|
|
1680
|
-
"app:import:
|
|
1922
|
+
"app:import:dashboard-extensions": {
|
|
1681
1923
|
"aliases": [],
|
|
1682
1924
|
"args": {},
|
|
1683
|
-
"description": "
|
|
1925
|
+
"description": "Import dashboard-managed extensions into your app.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `ImportDashboardExtensionsResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"enum\": [\n \"success\",\n \"partial\",\n \"skipped\",\n \"cancelled\"\n ]\n },\n \"reason\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"enum\": [\n \"no-extensions\",\n \"directory-selection-cancelled\"\n ]\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"extensions\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/ImportedDashboardExtension\"\n },\n \"description\": \"Completed extension imports and kept local directories, in selection order.\"\n },\n \"errors\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/ExtensionImportFailure\"\n },\n \"description\": \"Failed selected imports or identifier persistence.\"\n },\n \"identifiersUpdated\": {\n \"type\": \"boolean\",\n \"description\": \"Whether the extension identifier persistence step completed.\"\n }\n },\n \"required\": [\n \"status\",\n \"reason\",\n \"extensions\",\n \"errors\",\n \"identifiersUpdated\"\n ],\n \"additionalProperties\": false,\n \"title\": \"ImportDashboardExtensionsResult\",\n \"definitions\": {\n \"ImportedDashboardExtension\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"string\",\n \"format\": \"uuid\",\n \"description\": \"The dashboard extension registration UUID, not a Shopify GID.\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"type\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"The upstream dashboard extension type.\"\n },\n \"directory\": {\n \"type\": \"string\",\n \"description\": \"The absolute local extension directory.\"\n },\n \"configurationPath\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/ImportedDashboardExtension/properties/directory\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The absolute local TOML path, or null when no TOML file exists in a kept directory.\"\n },\n \"changed\": {\n \"type\": \"boolean\",\n \"description\": \"Whether this import wrote the local extension TOML.\"\n }\n },\n \"required\": [\n \"id\",\n \"name\",\n \"type\",\n \"directory\",\n \"configurationPath\",\n \"changed\"\n ],\n \"additionalProperties\": false\n },\n \"ExtensionImportFailure\": {\n \"type\": \"object\",\n \"properties\": {\n \"extensionId\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"uuid\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The registration UUID, or null for identifier persistence.\"\n },\n \"error\": {\n \"$ref\": \"#/definitions/JsonError\"\n }\n },\n \"required\": [\n \"extensionId\",\n \"error\"\n ],\n \"additionalProperties\": false\n },\n \"JsonError\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/JsonAbortError\"\n },\n {\n \"$ref\": \"#/definitions/JsonBugError\"\n },\n {\n \"$ref\": \"#/definitions/JsonExternalError\"\n }\n ]\n },\n \"JsonErrorCustomSection\": {\n \"type\": \"object\",\n \"properties\": {\n \"title\": {\n \"type\": \"string\"\n },\n \"body\": {\n \"anyOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n }\n ]\n }\n },\n \"required\": [\n \"body\"\n ],\n \"additionalProperties\": false\n },\n \"JsonAbortError\": {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"abort\"\n },\n \"message\": {\n \"type\": \"string\"\n },\n \"code\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"A stable error code, included only when known.\"\n },\n \"tryMessage\": {\n \"type\": \"string\"\n },\n \"nextSteps\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"customSections\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/JsonErrorCustomSection\"\n }\n },\n \"details\": {\n \"description\": \"Selected domain details, preserving native API payloads such as GraphQL errors, extensions, and data.\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n \"JsonBugError\": {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"bug\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/JsonAbortError/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/JsonAbortError/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/JsonAbortError/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/JsonAbortError/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/JsonAbortError/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/JsonAbortError/properties/details\"\n },\n \"stack\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n \"JsonExternalError\": {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"external\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/JsonAbortError/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/JsonAbortError/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/JsonAbortError/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/JsonAbortError/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/JsonAbortError/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/JsonAbortError/properties/details\"\n },\n \"command\": {\n \"type\": \"string\"\n },\n \"args\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": [\n \"type\",\n \"message\",\n \"command\",\n \"args\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
1684
1926
|
"flags": {
|
|
1685
1927
|
"json-schema": {
|
|
1686
1928
|
"description": "Print the command's JSON schemas.",
|
|
@@ -1770,31 +2012,22 @@
|
|
|
1770
2012
|
"name": "json",
|
|
1771
2013
|
"allowNo": false,
|
|
1772
2014
|
"type": "boolean"
|
|
1773
|
-
},
|
|
1774
|
-
"force": {
|
|
1775
|
-
"description": "Overwrite the existing channel spec file without prompting.",
|
|
1776
|
-
"env": "SHOPIFY_FLAG_FORCE",
|
|
1777
|
-
"name": "force",
|
|
1778
|
-
"allowNo": false,
|
|
1779
|
-
"type": "boolean"
|
|
1780
2015
|
}
|
|
1781
2016
|
},
|
|
1782
2017
|
"hasDynamicHelp": false,
|
|
1783
|
-
"hidden": true,
|
|
1784
2018
|
"hiddenAliases": [],
|
|
1785
|
-
"id": "app:import:
|
|
2019
|
+
"id": "app:import:dashboard-extensions",
|
|
1786
2020
|
"pluginAlias": "shopify",
|
|
1787
2021
|
"pluginName": "shopify",
|
|
1788
2022
|
"pluginType": "core",
|
|
1789
2023
|
"strict": true,
|
|
1790
|
-
"
|
|
1791
|
-
"descriptionWithMarkdown": "Imports the Shopify-authored channel spec for your app as a `channel_config` extension.\n\n The generated TOML only includes public `channel_config` fields. Review it, then deploy it with `shopify app deploy`.",
|
|
2024
|
+
"descriptionWithMarkdown": "Import dashboard-managed extensions into your app.",
|
|
1792
2025
|
"customPluginName": "@shopify/app"
|
|
1793
2026
|
},
|
|
1794
|
-
"app:import
|
|
2027
|
+
"app:import-custom-data-definitions": {
|
|
1795
2028
|
"aliases": [],
|
|
1796
2029
|
"args": {},
|
|
1797
|
-
"description": "Import metafield and metaobject definitions from your development store. \"Read more about declarative custom data definitions\" (https://shopify.dev/docs/apps/build/custom-data/declarative-custom-data-definitions).",
|
|
2030
|
+
"description": "Import metafield and metaobject definitions from your development store. \"Read more about declarative custom data definitions\" (https://shopify.dev/docs/apps/build/custom-data/declarative-custom-data-definitions).\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `ImportCustomDataDefinitionsResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"storeDomain\": {\n \"type\": [\n \"string\",\n \"null\"\n ],\n \"description\": \"The full myshopify.com domain of the development store, or null when unavailable.\"\n },\n \"metafieldCount\": {\n \"type\": \"integer\",\n \"minimum\": 0,\n \"description\": \"The number of available metafields converted to TOML.\"\n },\n \"metaobjectCount\": {\n \"type\": \"integer\",\n \"minimum\": 0,\n \"description\": \"The number of available metaobjects converted to TOML.\"\n },\n \"toml\": {\n \"type\": \"string\",\n \"description\": \"Suggested native TOML for app-reserved definitions. No file is written.\"\n },\n \"skippedSections\": {\n \"type\": \"array\",\n \"items\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/SkippedMetafields\"\n },\n {\n \"$ref\": \"#/definitions/SkippedMetaobjects\"\n }\n ]\n },\n \"description\": \"Sections skipped because required access scopes are unavailable. An empty array means all requests were authorized.\"\n }\n },\n \"required\": [\n \"status\",\n \"storeDomain\",\n \"metafieldCount\",\n \"metaobjectCount\",\n \"toml\",\n \"skippedSections\"\n ],\n \"additionalProperties\": false,\n \"title\": \"ImportCustomDataDefinitionsResult\",\n \"definitions\": {\n \"SkippedMetafields\": {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"metafields\"\n },\n \"ownerType\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"The Admin API metafield owner type, such as PRODUCT.\"\n }\n },\n \"required\": [\n \"type\",\n \"ownerType\"\n ],\n \"additionalProperties\": false\n },\n \"SkippedMetaobjects\": {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"metaobjects\"\n }\n },\n \"required\": [\n \"type\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
1798
2031
|
"flags": {
|
|
1799
2032
|
"json-schema": {
|
|
1800
2033
|
"description": "Print the command's JSON schemas.",
|
|
@@ -1876,6 +2109,15 @@
|
|
|
1876
2109
|
"allowNo": false,
|
|
1877
2110
|
"type": "boolean"
|
|
1878
2111
|
},
|
|
2112
|
+
"json": {
|
|
2113
|
+
"char": "j",
|
|
2114
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
2115
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
2116
|
+
"hidden": false,
|
|
2117
|
+
"name": "json",
|
|
2118
|
+
"allowNo": false,
|
|
2119
|
+
"type": "boolean"
|
|
2120
|
+
},
|
|
1879
2121
|
"store": {
|
|
1880
2122
|
"char": "s",
|
|
1881
2123
|
"description": "Store URL. Must be an existing development or Shopify Plus sandbox store.",
|
|
@@ -1894,228 +2136,20 @@
|
|
|
1894
2136
|
}
|
|
1895
2137
|
},
|
|
1896
2138
|
"hasDynamicHelp": false,
|
|
2139
|
+
"hidden": true,
|
|
1897
2140
|
"hiddenAliases": [],
|
|
1898
|
-
"id": "app:import
|
|
2141
|
+
"id": "app:import-custom-data-definitions",
|
|
1899
2142
|
"pluginAlias": "shopify",
|
|
1900
2143
|
"pluginName": "shopify",
|
|
1901
2144
|
"pluginType": "core",
|
|
1902
|
-
"strict": true,
|
|
1903
2145
|
"summary": "Import metafield and metaobject definitions.",
|
|
1904
2146
|
"descriptionWithMarkdown": "Import metafield and metaobject definitions from your development store. [Read more about declarative custom data definitions](https://shopify.dev/docs/apps/build/custom-data/declarative-custom-data-definitions).",
|
|
1905
2147
|
"customPluginName": "@shopify/app"
|
|
1906
2148
|
},
|
|
1907
|
-
"app:import
|
|
2149
|
+
"app:import-extensions": {
|
|
1908
2150
|
"aliases": [],
|
|
1909
2151
|
"args": {},
|
|
1910
|
-
"description": "Import dashboard-managed extensions into your app.",
|
|
1911
|
-
"flags": {
|
|
1912
|
-
"json-schema": {
|
|
1913
|
-
"description": "Print the command's JSON schemas.",
|
|
1914
|
-
"env": "SHOPIFY_FLAG_JSON_SCHEMA",
|
|
1915
|
-
"name": "json-schema",
|
|
1916
|
-
"allowNo": false,
|
|
1917
|
-
"type": "boolean"
|
|
1918
|
-
},
|
|
1919
|
-
"auth-alias": {
|
|
1920
|
-
"description": "Alias of the Shopify account to use for authentication.",
|
|
1921
|
-
"env": "SHOPIFY_FLAG_AUTH_ALIAS",
|
|
1922
|
-
"name": "auth-alias",
|
|
1923
|
-
"hasDynamicHelp": false,
|
|
1924
|
-
"multiple": false,
|
|
1925
|
-
"type": "option"
|
|
1926
|
-
},
|
|
1927
|
-
"no-input": {
|
|
1928
|
-
"description": "Disable interactive prompts and browser authentication.",
|
|
1929
|
-
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
1930
|
-
"name": "no-input",
|
|
1931
|
-
"allowNo": false,
|
|
1932
|
-
"type": "boolean"
|
|
1933
|
-
},
|
|
1934
|
-
"no-color": {
|
|
1935
|
-
"description": "Disable color output.",
|
|
1936
|
-
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
1937
|
-
"hidden": false,
|
|
1938
|
-
"name": "no-color",
|
|
1939
|
-
"allowNo": false,
|
|
1940
|
-
"type": "boolean"
|
|
1941
|
-
},
|
|
1942
|
-
"verbose": {
|
|
1943
|
-
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
1944
|
-
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
1945
|
-
"hidden": false,
|
|
1946
|
-
"name": "verbose",
|
|
1947
|
-
"allowNo": false,
|
|
1948
|
-
"type": "boolean"
|
|
1949
|
-
},
|
|
1950
|
-
"path": {
|
|
1951
|
-
"description": "The path to your app directory.",
|
|
1952
|
-
"env": "SHOPIFY_FLAG_PATH",
|
|
1953
|
-
"name": "path",
|
|
1954
|
-
"noCacheDefault": true,
|
|
1955
|
-
"hasDynamicHelp": false,
|
|
1956
|
-
"multiple": false,
|
|
1957
|
-
"type": "option"
|
|
1958
|
-
},
|
|
1959
|
-
"config": {
|
|
1960
|
-
"char": "c",
|
|
1961
|
-
"description": "The name of the app configuration.",
|
|
1962
|
-
"env": "SHOPIFY_FLAG_APP_CONFIG",
|
|
1963
|
-
"hidden": false,
|
|
1964
|
-
"name": "config",
|
|
1965
|
-
"hasDynamicHelp": false,
|
|
1966
|
-
"multiple": false,
|
|
1967
|
-
"type": "option"
|
|
1968
|
-
},
|
|
1969
|
-
"client-id": {
|
|
1970
|
-
"description": "The Client ID of your app.",
|
|
1971
|
-
"env": "SHOPIFY_FLAG_CLIENT_ID",
|
|
1972
|
-
"exclusive": [
|
|
1973
|
-
"config"
|
|
1974
|
-
],
|
|
1975
|
-
"hidden": false,
|
|
1976
|
-
"name": "client-id",
|
|
1977
|
-
"hasDynamicHelp": false,
|
|
1978
|
-
"multiple": false,
|
|
1979
|
-
"type": "option"
|
|
1980
|
-
},
|
|
1981
|
-
"reset": {
|
|
1982
|
-
"description": "Reset all your settings.",
|
|
1983
|
-
"env": "SHOPIFY_FLAG_RESET",
|
|
1984
|
-
"exclusive": [
|
|
1985
|
-
"config"
|
|
1986
|
-
],
|
|
1987
|
-
"hidden": false,
|
|
1988
|
-
"name": "reset",
|
|
1989
|
-
"allowNo": false,
|
|
1990
|
-
"type": "boolean"
|
|
1991
|
-
}
|
|
1992
|
-
},
|
|
1993
|
-
"hasDynamicHelp": false,
|
|
1994
|
-
"hiddenAliases": [],
|
|
1995
|
-
"id": "app:import:dashboard-extensions",
|
|
1996
|
-
"pluginAlias": "shopify",
|
|
1997
|
-
"pluginName": "shopify",
|
|
1998
|
-
"pluginType": "core",
|
|
1999
|
-
"strict": true,
|
|
2000
|
-
"customPluginName": "@shopify/app"
|
|
2001
|
-
},
|
|
2002
|
-
"app:import-custom-data-definitions": {
|
|
2003
|
-
"aliases": [],
|
|
2004
|
-
"args": {},
|
|
2005
|
-
"description": "Import metafield and metaobject definitions from your development store. \"Read more about declarative custom data definitions\" (https://shopify.dev/docs/apps/build/custom-data/declarative-custom-data-definitions).",
|
|
2006
|
-
"flags": {
|
|
2007
|
-
"json-schema": {
|
|
2008
|
-
"description": "Print the command's JSON schemas.",
|
|
2009
|
-
"env": "SHOPIFY_FLAG_JSON_SCHEMA",
|
|
2010
|
-
"name": "json-schema",
|
|
2011
|
-
"allowNo": false,
|
|
2012
|
-
"type": "boolean"
|
|
2013
|
-
},
|
|
2014
|
-
"auth-alias": {
|
|
2015
|
-
"description": "Alias of the Shopify account to use for authentication.",
|
|
2016
|
-
"env": "SHOPIFY_FLAG_AUTH_ALIAS",
|
|
2017
|
-
"name": "auth-alias",
|
|
2018
|
-
"hasDynamicHelp": false,
|
|
2019
|
-
"multiple": false,
|
|
2020
|
-
"type": "option"
|
|
2021
|
-
},
|
|
2022
|
-
"no-input": {
|
|
2023
|
-
"description": "Disable interactive prompts and browser authentication.",
|
|
2024
|
-
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
2025
|
-
"name": "no-input",
|
|
2026
|
-
"allowNo": false,
|
|
2027
|
-
"type": "boolean"
|
|
2028
|
-
},
|
|
2029
|
-
"no-color": {
|
|
2030
|
-
"description": "Disable color output.",
|
|
2031
|
-
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
2032
|
-
"hidden": false,
|
|
2033
|
-
"name": "no-color",
|
|
2034
|
-
"allowNo": false,
|
|
2035
|
-
"type": "boolean"
|
|
2036
|
-
},
|
|
2037
|
-
"verbose": {
|
|
2038
|
-
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
2039
|
-
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
2040
|
-
"hidden": false,
|
|
2041
|
-
"name": "verbose",
|
|
2042
|
-
"allowNo": false,
|
|
2043
|
-
"type": "boolean"
|
|
2044
|
-
},
|
|
2045
|
-
"path": {
|
|
2046
|
-
"description": "The path to your app directory.",
|
|
2047
|
-
"env": "SHOPIFY_FLAG_PATH",
|
|
2048
|
-
"name": "path",
|
|
2049
|
-
"noCacheDefault": true,
|
|
2050
|
-
"hasDynamicHelp": false,
|
|
2051
|
-
"multiple": false,
|
|
2052
|
-
"type": "option"
|
|
2053
|
-
},
|
|
2054
|
-
"config": {
|
|
2055
|
-
"char": "c",
|
|
2056
|
-
"description": "The name of the app configuration.",
|
|
2057
|
-
"env": "SHOPIFY_FLAG_APP_CONFIG",
|
|
2058
|
-
"hidden": false,
|
|
2059
|
-
"name": "config",
|
|
2060
|
-
"hasDynamicHelp": false,
|
|
2061
|
-
"multiple": false,
|
|
2062
|
-
"type": "option"
|
|
2063
|
-
},
|
|
2064
|
-
"client-id": {
|
|
2065
|
-
"description": "The Client ID of your app.",
|
|
2066
|
-
"env": "SHOPIFY_FLAG_CLIENT_ID",
|
|
2067
|
-
"exclusive": [
|
|
2068
|
-
"config"
|
|
2069
|
-
],
|
|
2070
|
-
"hidden": false,
|
|
2071
|
-
"name": "client-id",
|
|
2072
|
-
"hasDynamicHelp": false,
|
|
2073
|
-
"multiple": false,
|
|
2074
|
-
"type": "option"
|
|
2075
|
-
},
|
|
2076
|
-
"reset": {
|
|
2077
|
-
"description": "Reset all your settings.",
|
|
2078
|
-
"env": "SHOPIFY_FLAG_RESET",
|
|
2079
|
-
"exclusive": [
|
|
2080
|
-
"config"
|
|
2081
|
-
],
|
|
2082
|
-
"hidden": false,
|
|
2083
|
-
"name": "reset",
|
|
2084
|
-
"allowNo": false,
|
|
2085
|
-
"type": "boolean"
|
|
2086
|
-
},
|
|
2087
|
-
"store": {
|
|
2088
|
-
"char": "s",
|
|
2089
|
-
"description": "Store URL. Must be an existing development or Shopify Plus sandbox store.",
|
|
2090
|
-
"env": "SHOPIFY_FLAG_STORE",
|
|
2091
|
-
"name": "store",
|
|
2092
|
-
"hasDynamicHelp": false,
|
|
2093
|
-
"multiple": false,
|
|
2094
|
-
"type": "option"
|
|
2095
|
-
},
|
|
2096
|
-
"include-existing": {
|
|
2097
|
-
"description": "Include existing declared definitions in the output.",
|
|
2098
|
-
"env": "SHOPIFY_FLAG_INCLUDE_EXISTING",
|
|
2099
|
-
"name": "include-existing",
|
|
2100
|
-
"allowNo": false,
|
|
2101
|
-
"type": "boolean"
|
|
2102
|
-
}
|
|
2103
|
-
},
|
|
2104
|
-
"hasDynamicHelp": false,
|
|
2105
|
-
"hidden": true,
|
|
2106
|
-
"hiddenAliases": [],
|
|
2107
|
-
"id": "app:import-custom-data-definitions",
|
|
2108
|
-
"pluginAlias": "shopify",
|
|
2109
|
-
"pluginName": "shopify",
|
|
2110
|
-
"pluginType": "core",
|
|
2111
|
-
"summary": "Import metafield and metaobject definitions.",
|
|
2112
|
-
"descriptionWithMarkdown": "Import metafield and metaobject definitions from your development store. [Read more about declarative custom data definitions](https://shopify.dev/docs/apps/build/custom-data/declarative-custom-data-definitions).",
|
|
2113
|
-
"customPluginName": "@shopify/app"
|
|
2114
|
-
},
|
|
2115
|
-
"app:import-extensions": {
|
|
2116
|
-
"aliases": [],
|
|
2117
|
-
"args": {},
|
|
2118
|
-
"description": "Import dashboard-managed extensions into your app.",
|
|
2152
|
+
"description": "Import dashboard-managed extensions into your app.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `ImportDashboardExtensionsResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"enum\": [\n \"success\",\n \"partial\",\n \"skipped\",\n \"cancelled\"\n ]\n },\n \"reason\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"enum\": [\n \"no-extensions\",\n \"directory-selection-cancelled\"\n ]\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"extensions\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/ImportedDashboardExtension\"\n },\n \"description\": \"Completed extension imports and kept local directories, in selection order.\"\n },\n \"errors\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/ExtensionImportFailure\"\n },\n \"description\": \"Failed selected imports or identifier persistence.\"\n },\n \"identifiersUpdated\": {\n \"type\": \"boolean\",\n \"description\": \"Whether the extension identifier persistence step completed.\"\n }\n },\n \"required\": [\n \"status\",\n \"reason\",\n \"extensions\",\n \"errors\",\n \"identifiersUpdated\"\n ],\n \"additionalProperties\": false,\n \"title\": \"ImportDashboardExtensionsResult\",\n \"definitions\": {\n \"ImportedDashboardExtension\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"string\",\n \"format\": \"uuid\",\n \"description\": \"The dashboard extension registration UUID, not a Shopify GID.\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"type\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"The upstream dashboard extension type.\"\n },\n \"directory\": {\n \"type\": \"string\",\n \"description\": \"The absolute local extension directory.\"\n },\n \"configurationPath\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/ImportedDashboardExtension/properties/directory\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The absolute local TOML path, or null when no TOML file exists in a kept directory.\"\n },\n \"changed\": {\n \"type\": \"boolean\",\n \"description\": \"Whether this import wrote the local extension TOML.\"\n }\n },\n \"required\": [\n \"id\",\n \"name\",\n \"type\",\n \"directory\",\n \"configurationPath\",\n \"changed\"\n ],\n \"additionalProperties\": false\n },\n \"ExtensionImportFailure\": {\n \"type\": \"object\",\n \"properties\": {\n \"extensionId\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"uuid\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The registration UUID, or null for identifier persistence.\"\n },\n \"error\": {\n \"$ref\": \"#/definitions/JsonError\"\n }\n },\n \"required\": [\n \"extensionId\",\n \"error\"\n ],\n \"additionalProperties\": false\n },\n \"JsonError\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/JsonAbortError\"\n },\n {\n \"$ref\": \"#/definitions/JsonBugError\"\n },\n {\n \"$ref\": \"#/definitions/JsonExternalError\"\n }\n ]\n },\n \"JsonErrorCustomSection\": {\n \"type\": \"object\",\n \"properties\": {\n \"title\": {\n \"type\": \"string\"\n },\n \"body\": {\n \"anyOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n }\n ]\n }\n },\n \"required\": [\n \"body\"\n ],\n \"additionalProperties\": false\n },\n \"JsonAbortError\": {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"abort\"\n },\n \"message\": {\n \"type\": \"string\"\n },\n \"code\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"A stable error code, included only when known.\"\n },\n \"tryMessage\": {\n \"type\": \"string\"\n },\n \"nextSteps\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"customSections\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/JsonErrorCustomSection\"\n }\n },\n \"details\": {\n \"description\": \"Selected domain details, preserving native API payloads such as GraphQL errors, extensions, and data.\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n \"JsonBugError\": {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"bug\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/JsonAbortError/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/JsonAbortError/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/JsonAbortError/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/JsonAbortError/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/JsonAbortError/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/JsonAbortError/properties/details\"\n },\n \"stack\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n \"JsonExternalError\": {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"external\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/JsonAbortError/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/JsonAbortError/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/JsonAbortError/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/JsonAbortError/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/JsonAbortError/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/JsonAbortError/properties/details\"\n },\n \"command\": {\n \"type\": \"string\"\n },\n \"args\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": [\n \"type\",\n \"message\",\n \"command\",\n \"args\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
2119
2153
|
"flags": {
|
|
2120
2154
|
"json-schema": {
|
|
2121
2155
|
"description": "Print the command's JSON schemas.",
|
|
@@ -2196,6 +2230,15 @@
|
|
|
2196
2230
|
"name": "reset",
|
|
2197
2231
|
"allowNo": false,
|
|
2198
2232
|
"type": "boolean"
|
|
2233
|
+
},
|
|
2234
|
+
"json": {
|
|
2235
|
+
"char": "j",
|
|
2236
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
2237
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
2238
|
+
"hidden": false,
|
|
2239
|
+
"name": "json",
|
|
2240
|
+
"allowNo": false,
|
|
2241
|
+
"type": "boolean"
|
|
2199
2242
|
}
|
|
2200
2243
|
},
|
|
2201
2244
|
"hasDynamicHelp": false,
|
|
@@ -2205,6 +2248,7 @@
|
|
|
2205
2248
|
"pluginAlias": "shopify",
|
|
2206
2249
|
"pluginName": "shopify",
|
|
2207
2250
|
"pluginType": "core",
|
|
2251
|
+
"descriptionWithMarkdown": "Import dashboard-managed extensions into your app.",
|
|
2208
2252
|
"customPluginName": "@shopify/app"
|
|
2209
2253
|
},
|
|
2210
2254
|
"app:info": {
|
|
@@ -2324,6 +2368,7 @@
|
|
|
2324
2368
|
"app:init": {
|
|
2325
2369
|
"aliases": [],
|
|
2326
2370
|
"args": {},
|
|
2371
|
+
"description": "Use `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `AppInitResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"app\": {\n \"$ref\": \"#/definitions/InitializedApp\"\n },\n \"packageManager\": {\n \"type\": \"string\",\n \"enum\": [\n \"npm\",\n \"yarn\",\n \"pnpm\",\n \"bun\"\n ]\n },\n \"template\": {\n \"type\": \"string\",\n \"format\": \"uri\",\n \"description\": \"The selected GitHub template reference, including its branch and subpath.\"\n }\n },\n \"required\": [\n \"status\",\n \"app\",\n \"packageManager\",\n \"template\"\n ],\n \"additionalProperties\": false,\n \"title\": \"AppInitResult\",\n \"definitions\": {\n \"InitializedApp\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"string\",\n \"pattern\": \"^\\\\d+$\",\n \"description\": \"The decimal App ID, not a Shopify GID.\"\n },\n \"name\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"The name of the linked remote app.\"\n },\n \"clientId\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"The client ID of the linked remote app.\"\n },\n \"organizationId\": {\n \"type\": \"string\",\n \"pattern\": \"^\\\\d+$\",\n \"description\": \"The decimal organization ID, not a Shopify GID.\"\n },\n \"directory\": {\n \"type\": \"string\",\n \"pattern\": \"^(?:\\\\/|[A-Za-z]:[\\\\\\\\/]|\\\\\\\\\\\\\\\\)\",\n \"description\": \"The absolute filesystem path of the created app project.\"\n },\n \"configurationPath\": {\n \"type\": \"string\",\n \"pattern\": \"^(?:\\\\/|[A-Za-z]:[\\\\\\\\/]|\\\\\\\\\\\\\\\\)\",\n \"description\": \"The absolute filesystem path of the linked app configuration.\"\n }\n },\n \"required\": [\n \"id\",\n \"name\",\n \"clientId\",\n \"organizationId\",\n \"directory\",\n \"configurationPath\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
2327
2372
|
"examples": [
|
|
2328
2373
|
"<%= config.bin %> <%= command.id %> --name my-app --organization-id 123 --template reactRouter --flavor typescript",
|
|
2329
2374
|
"<%= config.bin %> <%= command.id %> --client-id 123 --template none"
|
|
@@ -2367,6 +2412,15 @@
|
|
|
2367
2412
|
"allowNo": false,
|
|
2368
2413
|
"type": "boolean"
|
|
2369
2414
|
},
|
|
2415
|
+
"json": {
|
|
2416
|
+
"char": "j",
|
|
2417
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
2418
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
2419
|
+
"hidden": false,
|
|
2420
|
+
"name": "json",
|
|
2421
|
+
"allowNo": false,
|
|
2422
|
+
"type": "boolean"
|
|
2423
|
+
},
|
|
2370
2424
|
"name": {
|
|
2371
2425
|
"char": "n",
|
|
2372
2426
|
"description": "The name for the new app. When provided, skips the app selection prompt and creates a new app with this name. Required in non-interactive environments unless --client-id is provided.",
|
|
@@ -2464,7 +2518,7 @@
|
|
|
2464
2518
|
"app:config:validate": {
|
|
2465
2519
|
"aliases": [],
|
|
2466
2520
|
"args": {},
|
|
2467
|
-
"description": "Validates the selected app configuration file and all extension configurations against their schemas and reports any errors found.",
|
|
2521
|
+
"description": "Validates the selected app configuration file and all extension configurations against their schemas and reports any errors found.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `AppConfigValidateResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"path\": {\n \"type\": \"string\"\n },\n \"valid\": {\n \"type\": \"boolean\"\n },\n \"issues\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/ValidationIssue\"\n }\n }\n },\n \"required\": [\n \"path\",\n \"valid\",\n \"issues\"\n ],\n \"additionalProperties\": false,\n \"title\": \"AppConfigValidateResult\",\n \"definitions\": {\n \"ValidationIssue\": {\n \"type\": \"object\",\n \"properties\": {\n \"filePath\": {\n \"anyOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"message\": {\n \"type\": \"string\"\n },\n \"fieldPath\": {\n \"anyOf\": [\n {\n \"type\": \"array\",\n \"items\": {\n \"anyOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"integer\",\n \"minimum\": 0\n }\n ]\n }\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"code\": {\n \"type\": [\n \"string\",\n \"null\"\n ],\n \"description\": \"The upstream validation code, or null when unavailable.\"\n }\n },\n \"required\": [\n \"filePath\",\n \"message\",\n \"fieldPath\",\n \"code\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
2468
2522
|
"flags": {
|
|
2469
2523
|
"json-schema": {
|
|
2470
2524
|
"description": "Print the command's JSON schemas.",
|
|
@@ -2570,7 +2624,7 @@
|
|
|
2570
2624
|
"app:release": {
|
|
2571
2625
|
"aliases": [],
|
|
2572
2626
|
"args": {},
|
|
2573
|
-
"description": "Releases an existing app version. Pass the name of the version that you want to release using the `--version` flag.",
|
|
2627
|
+
"description": "Releases an existing app version. Pass the name of the version that you want to release using the `--version` flag.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `AppReleaseResult` schema.\n\n```json\n{\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"app\": {\n \"$ref\": \"#/definitions/App\"\n },\n \"release\": {\n \"$ref\": \"#/definitions/AppRelease\"\n }\n },\n \"required\": [\n \"status\",\n \"app\",\n \"release\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"cancelled\"\n }\n },\n \"required\": [\n \"status\"\n ],\n \"additionalProperties\": false\n }\n ],\n \"title\": \"AppReleaseResult\",\n \"definitions\": {\n \"App\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"clientId\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"The client ID of the app receiving the release.\"\n }\n },\n \"required\": [\n \"name\",\n \"clientId\"\n ],\n \"additionalProperties\": false\n },\n \"AppRelease\": {\n \"type\": \"object\",\n \"properties\": {\n \"version\": {\n \"$ref\": \"#/definitions/AppReleaseVersion\"\n }\n },\n \"required\": [\n \"version\"\n ],\n \"additionalProperties\": false\n },\n \"AppReleaseVersion\": {\n \"type\": \"object\",\n \"properties\": {\n \"gid\": {\n \"type\": \"string\",\n \"pattern\": \"^gid:\\\\/\\\\/shopify\\\\/Version\\\\/\\\\d+$\",\n \"description\": \"The Shopify app version GID.\"\n },\n \"name\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"minLength\": 1\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The version tag, or null when no tag is available.\"\n },\n \"message\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"minLength\": 1\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The version message, or null when no message is available.\"\n },\n \"url\": {\n \"type\": \"string\",\n \"format\": \"uri\",\n \"description\": \"The Developer Dashboard URL for this version.\"\n }\n },\n \"required\": [\n \"gid\",\n \"name\",\n \"message\",\n \"url\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
2574
2628
|
"flags": {
|
|
2575
2629
|
"json-schema": {
|
|
2576
2630
|
"description": "Print the command's JSON schemas.",
|
|
@@ -2652,6 +2706,15 @@
|
|
|
2652
2706
|
"allowNo": false,
|
|
2653
2707
|
"type": "boolean"
|
|
2654
2708
|
},
|
|
2709
|
+
"json": {
|
|
2710
|
+
"char": "j",
|
|
2711
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
2712
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
2713
|
+
"hidden": false,
|
|
2714
|
+
"name": "json",
|
|
2715
|
+
"allowNo": false,
|
|
2716
|
+
"type": "boolean"
|
|
2717
|
+
},
|
|
2655
2718
|
"allow-updates": {
|
|
2656
2719
|
"description": "Allows adding and updating extensions and configuration without requiring user confirmation. Recommended option for CI/CD environments. Required in non-interactive environments unless --allow-deletes is provided.",
|
|
2657
2720
|
"env": "SHOPIFY_FLAG_ALLOW_UPDATES",
|
|
@@ -2694,7 +2757,7 @@
|
|
|
2694
2757
|
"app:subscription-migrations:cancel": {
|
|
2695
2758
|
"aliases": [],
|
|
2696
2759
|
"args": {},
|
|
2697
|
-
"description": "Cancels app subscription migration operations.\n\nCanceling stops additional unprocessed shops, but does not undo shops that have already been scheduled or migrated. Use `unschedule` for reversible schedules.\n\nRepeat `--id` to cancel every operation GID returned by a multi-batch submission. Use `--json` to output the resulting operation states and per-shop results as structured JSON.\n\nRun the command from an app project. By default, it uses the Client ID from the active app configuration. Use `--path` to select an app directory or `--config` to select a configuration. Pass `--client-id` to select a different app within the project. Use `--reset` to relink the app.",
|
|
2760
|
+
"description": "Cancels app subscription migration operations.\n\nCanceling stops additional unprocessed shops, but does not undo shops that have already been scheduled or migrated. Use `unschedule` for reversible schedules.\n\nRepeat `--id` to cancel every operation GID returned by a multi-batch submission. Use `--json` to output the resulting operation states and per-shop results as structured JSON.\n\nRun the command from an app project. By default, it uses the Client ID from the active app configuration. Use `--path` to select an app directory or `--config` to select a configuration. Pass `--client-id` to select a different app within the project. Use `--reset` to relink the app.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `MigrationCancellationResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"enum\": [\n \"success\",\n \"partial\"\n ]\n },\n \"operations\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/MigrationCancellationOutcome\"\n }\n }\n },\n \"required\": [\n \"status\",\n \"operations\"\n ],\n \"additionalProperties\": false,\n \"title\": \"MigrationCancellationResult\",\n \"definitions\": {\n \"MigrationCancellationOutcome\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"operationGid\": {\n \"type\": \"string\",\n \"pattern\": \"^gid:\\\\/\\\\/shopify\\\\/AppSubscriptionMigrationOperation\\\\/[^/]+$\",\n \"description\": \"The Shopify AppSubscriptionMigrationOperation GID.\"\n },\n \"operation\": {\n \"$ref\": \"#/definitions/MigrationOperation\"\n }\n },\n \"required\": [\n \"status\",\n \"operationGid\",\n \"operation\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"failed\"\n },\n \"operationGid\": {\n \"$ref\": \"#/definitions/MigrationCancellationOutcome/anyOf/0/properties/operationGid\"\n },\n \"operation\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/MigrationOperation\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"error\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"abort\"\n },\n \"message\": {\n \"type\": \"string\"\n },\n \"code\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"A stable error code, included only when known.\"\n },\n \"tryMessage\": {\n \"type\": \"string\"\n },\n \"nextSteps\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"customSections\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"title\": {\n \"type\": \"string\"\n },\n \"body\": {\n \"anyOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n }\n ]\n }\n },\n \"required\": [\n \"body\"\n ],\n \"additionalProperties\": false\n }\n },\n \"details\": {\n \"type\": \"object\",\n \"properties\": {\n \"userErrors\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/MigrationUserError\"\n }\n }\n },\n \"required\": [\n \"userErrors\"\n ],\n \"additionalProperties\": false\n }\n },\n \"required\": [\n \"type\",\n \"message\",\n \"details\"\n ],\n \"additionalProperties\": false\n },\n {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"$ref\": \"#/definitions/MigrationCancellationOutcome/anyOf/1/properties/error/anyOf/0/properties/type\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/MigrationCancellationOutcome/anyOf/1/properties/error/anyOf/0/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/MigrationCancellationOutcome/anyOf/1/properties/error/anyOf/0/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/MigrationCancellationOutcome/anyOf/1/properties/error/anyOf/0/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/MigrationCancellationOutcome/anyOf/1/properties/error/anyOf/0/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/MigrationCancellationOutcome/anyOf/1/properties/error/anyOf/0/properties/customSections\"\n },\n \"details\": {\n \"description\": \"Selected domain details, preserving native API payloads such as GraphQL errors, extensions, and data.\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"bug\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/MigrationCancellationOutcome/anyOf/1/properties/error/anyOf/0/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/MigrationCancellationOutcome/anyOf/1/properties/error/anyOf/0/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/MigrationCancellationOutcome/anyOf/1/properties/error/anyOf/0/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/MigrationCancellationOutcome/anyOf/1/properties/error/anyOf/0/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/MigrationCancellationOutcome/anyOf/1/properties/error/anyOf/0/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/MigrationCancellationOutcome/anyOf/1/properties/error/anyOf/1/anyOf/0/properties/details\"\n },\n \"stack\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"external\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/MigrationCancellationOutcome/anyOf/1/properties/error/anyOf/0/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/MigrationCancellationOutcome/anyOf/1/properties/error/anyOf/0/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/MigrationCancellationOutcome/anyOf/1/properties/error/anyOf/0/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/MigrationCancellationOutcome/anyOf/1/properties/error/anyOf/0/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/MigrationCancellationOutcome/anyOf/1/properties/error/anyOf/0/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/MigrationCancellationOutcome/anyOf/1/properties/error/anyOf/1/anyOf/0/properties/details\"\n },\n \"command\": {\n \"type\": \"string\"\n },\n \"args\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": [\n \"type\",\n \"message\",\n \"command\",\n \"args\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n ]\n }\n },\n \"required\": [\n \"status\",\n \"operationGid\",\n \"operation\",\n \"error\"\n ],\n \"additionalProperties\": false\n }\n ]\n },\n \"MigrationOperation\": {\n \"type\": \"object\",\n \"properties\": {\n \"gid\": {\n \"$ref\": \"#/definitions/MigrationCancellationOutcome/anyOf/0/properties/operationGid\"\n },\n \"status\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"Upstream status: RUNNING, COMPLETED, FAILED, or CANCELED.\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"minimum\": 0\n },\n \"results\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"shopGid\": {\n \"type\": \"string\",\n \"pattern\": \"^gid:\\\\/\\\\/shopify\\\\/Shop\\\\/\\\\d+$\",\n \"description\": \"The Shopify Shop GID.\"\n },\n \"code\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"The upstream per-shop migration result code.\"\n }\n },\n \"required\": [\n \"shopGid\",\n \"code\"\n ],\n \"additionalProperties\": false\n }\n }\n },\n \"required\": [\n \"gid\",\n \"status\",\n \"total\",\n \"results\"\n ],\n \"additionalProperties\": false\n },\n \"MigrationUserError\": {\n \"type\": \"object\",\n \"properties\": {\n \"message\": {\n \"type\": \"string\"\n },\n \"fieldPath\": {\n \"anyOf\": [\n {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n {\n \"type\": \"null\"\n }\n ]\n }\n },\n \"required\": [\n \"message\",\n \"fieldPath\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
2698
2761
|
"examples": [
|
|
2699
2762
|
"<%= config.bin %> <%= command.id %> --id <operation-id>",
|
|
2700
2763
|
"<%= config.bin %> <%= command.id %> --path ../my-app --config staging --id <operation-id-1> --id <operation-id-2>",
|
|
@@ -2814,7 +2877,7 @@
|
|
|
2814
2877
|
"app:subscription-migrations:list": {
|
|
2815
2878
|
"aliases": [],
|
|
2816
2879
|
"args": {},
|
|
2817
|
-
"description": "Lists every app subscription eligible for migration.\n\nBy default, the command writes CSV to stdout, streaming each page of results as it arrives. If a later page fails, the rows already written remain valid CSV. Use `--json` to fetch all pages first and then write a single
|
|
2880
|
+
"description": "Lists every app subscription eligible for migration.\n\nBy default, the command writes CSV to stdout, streaming each page of results as it arrives. If a later page fails, the rows already written remain valid CSV. Use `--json` to fetch all pages first and then write a single JSON envelope to stdout. Use shell redirection to save either format, for example `shopify app subscription-migrations list > subscriptions.csv` or `shopify app subscription-migrations list --json > subscriptions.json`.\n\nUse `--status` to filter subscriptions by migration status. Supported values are `UNSCHEDULED`, `SCHEDULED`, and `MIGRATED`.\n\nRun the command from an app project. By default, it uses the Client ID from the active app configuration. Use `--path` to select an app directory or `--config` to select a configuration. Pass `--client-id` to select a different app within the project. Use `--reset` to relink the app.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `MigrationListResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"subscriptions\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/MigratableSubscription\"\n },\n \"description\": \"The complete list across every fetched page.\"\n }\n },\n \"required\": [\n \"subscriptions\"\n ],\n \"additionalProperties\": false,\n \"title\": \"MigrationListResult\",\n \"definitions\": {\n \"MigratableSubscription\": {\n \"type\": \"object\",\n \"properties\": {\n \"shopGid\": {\n \"type\": \"string\",\n \"pattern\": \"^gid:\\\\/\\\\/shopify\\\\/Shop\\\\/\\\\d+$\",\n \"description\": \"The Shopify Shop GID.\"\n },\n \"status\": {\n \"type\": \"string\",\n \"description\": \"Known values: UNSCHEDULED, SCHEDULED, MIGRATED.\"\n },\n \"manualSubscriptionName\": {\n \"type\": [\n \"string\",\n \"null\"\n ]\n },\n \"manualSubscriptionPrice\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/MigratableSubscriptionPrice\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"manualSubscriptionInterval\": {\n \"type\": \"string\",\n \"description\": \"Known values: EVERY_30_DAYS, ANNUAL.\"\n },\n \"targetPlanHandle\": {\n \"type\": [\n \"string\",\n \"null\"\n ]\n },\n \"notification\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/MigratableSubscriptionNotification\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"priceBehavior\": {\n \"type\": [\n \"string\",\n \"null\"\n ],\n \"description\": \"Known values: HONOR_BILLING_PRICE, PLAN_PRICE.\"\n },\n \"effectiveDate\": {\n \"anyOf\": [\n {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"date\"\n },\n {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"pattern\": \"^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}Z$\"\n }\n ]\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The upstream calendar date or whole-second UTC instant; date-only values retain their format.\"\n },\n \"lastFailureReason\": {\n \"type\": [\n \"string\",\n \"null\"\n ],\n \"description\": \"Known values: SUPERSEDED, SCHEDULING_FAILED.\"\n }\n },\n \"required\": [\n \"shopGid\",\n \"status\",\n \"manualSubscriptionName\",\n \"manualSubscriptionPrice\",\n \"manualSubscriptionInterval\",\n \"targetPlanHandle\",\n \"notification\",\n \"priceBehavior\",\n \"effectiveDate\",\n \"lastFailureReason\"\n ],\n \"additionalProperties\": false,\n \"description\": \"All subscription projection fields are present; unavailable values are null.\"\n },\n \"MigratableSubscriptionPrice\": {\n \"type\": \"object\",\n \"properties\": {\n \"amount\": {\n \"type\": \"string\",\n \"pattern\": \"^-?\\\\d+(?:\\\\.\\\\d+)?$\"\n },\n \"currencyCode\": {\n \"type\": \"string\",\n \"pattern\": \"^[A-Z]{3}$\"\n }\n },\n \"required\": [\n \"amount\",\n \"currencyCode\"\n ],\n \"additionalProperties\": false\n },\n \"MigratableSubscriptionNotification\": {\n \"type\": \"object\",\n \"properties\": {\n \"kind\": {\n \"type\": \"string\",\n \"description\": \"Known values: NONE, OPT_OUT, WHEN_REQUIRED.\"\n },\n \"optOutDeadline\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/MigratableSubscription/properties/effectiveDate/anyOf/0/anyOf/1\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"sentAt\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/MigratableSubscription/properties/effectiveDate/anyOf/0/anyOf/1\"\n },\n {\n \"type\": \"null\"\n }\n ]\n }\n },\n \"required\": [\n \"kind\",\n \"optOutDeadline\",\n \"sentAt\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
2818
2881
|
"examples": [
|
|
2819
2882
|
"<%= config.bin %> <%= command.id %>",
|
|
2820
2883
|
"<%= config.bin %> <%= command.id %> --status SCHEDULED > scheduled-subscriptions.csv",
|
|
@@ -2934,13 +2997,13 @@
|
|
|
2934
2997
|
"pluginType": "core",
|
|
2935
2998
|
"strict": true,
|
|
2936
2999
|
"summary": "Lists app subscriptions eligible for migration.",
|
|
2937
|
-
"descriptionWithMarkdown": "Lists every app subscription eligible for migration.\n\nBy default, the command writes CSV to stdout, streaming each page of results as it arrives. If a later page fails, the rows already written remain valid CSV. Use `--json` to fetch all pages first and then write a single
|
|
3000
|
+
"descriptionWithMarkdown": "Lists every app subscription eligible for migration.\n\nBy default, the command writes CSV to stdout, streaming each page of results as it arrives. If a later page fails, the rows already written remain valid CSV. Use `--json` to fetch all pages first and then write a single JSON envelope to stdout. Use shell redirection to save either format, for example `shopify app subscription-migrations list > subscriptions.csv` or `shopify app subscription-migrations list --json > subscriptions.json`.\n\nUse `--status` to filter subscriptions by migration status. Supported values are `UNSCHEDULED`, `SCHEDULED`, and `MIGRATED`.\n\nRun the command from an app project. By default, it uses the Client ID from the active app configuration. Use `--path` to select an app directory or `--config` to select a configuration. Pass `--client-id` to select a different app within the project. Use `--reset` to relink the app.",
|
|
2938
3001
|
"customPluginName": "@shopify/app"
|
|
2939
3002
|
},
|
|
2940
3003
|
"app:subscription-migrations:schedule": {
|
|
2941
3004
|
"aliases": [],
|
|
2942
3005
|
"args": {},
|
|
2943
|
-
"description": "Schedules manual-billing subscriptions to migrate to Shopify-managed app pricing.\n\nWhen `--input` is omitted, the command reads CSV data from stdin. Use `--input <path>` to read from a file. `--input -` is also supported as an explicit stdin path.\n\n- Required CSV columns: `shop_id`, `target_plan_handle`, and `price_behavior`.\n- Optional CSV column: `notification`.\n- Example header: `shop_id,target_plan_handle,price_behavior,notification`.\n- Example row: `123456789,pro,HONOR_BILLING_PRICE,WHEN_REQUIRED`.\n\n`price_behavior` must be `HONOR_BILLING_PRICE` or `PLAN_PRICE`. `notification` can be `OPT_OUT` or `WHEN_REQUIRED` and defaults to `WHEN_REQUIRED` when omitted or blank.\n\nValidation is atomic: the command submits no operations unless the entire CSV is valid. Valid rows are submitted in batches of 250 shops. Preserve every operation GID printed by the command so you can check or cancel the submitted operations.\n\nRun the command from an app project. By default, it uses the Client ID from the active app configuration. Use `--path` to select an app directory or `--config` to select a configuration. Pass `--client-id` to select a different app within the project. Use `--reset` to relink the app.\n\nUse `--force` to skip confirmation and immediately submit every valid row. With `--watch`, human-readable output shows accepted identifiers before polling begins, then displays operation progress and the final outcome. With `--json --watch`, the command outputs one structured JSON document after every operation reaches a terminal status.",
|
|
3006
|
+
"description": "Schedules manual-billing subscriptions to migrate to Shopify-managed app pricing.\n\nWhen `--input` is omitted, the command reads CSV data from stdin. Use `--input <path>` to read from a file. `--input -` is also supported as an explicit stdin path.\n\n- Required CSV columns: `shop_id`, `target_plan_handle`, and `price_behavior`.\n- Optional CSV column: `notification`.\n- Example header: `shop_id,target_plan_handle,price_behavior,notification`.\n- Example row: `123456789,pro,HONOR_BILLING_PRICE,WHEN_REQUIRED`.\n\n`price_behavior` must be `HONOR_BILLING_PRICE` or `PLAN_PRICE`. `notification` can be `OPT_OUT` or `WHEN_REQUIRED` and defaults to `WHEN_REQUIRED` when omitted or blank.\n\nValidation is atomic: the command submits no operations unless the entire CSV is valid. Valid rows are submitted in batches of 250 shops. Preserve every operation GID printed by the command so you can check or cancel the submitted operations.\n\nRun the command from an app project. By default, it uses the Client ID from the active app configuration. Use `--path` to select an app directory or `--config` to select a configuration. Pass `--client-id` to select a different app within the project. Use `--reset` to relink the app.\n\nUse `--force` to skip confirmation and immediately submit every valid row. With `--watch`, human-readable output shows accepted identifiers before polling begins, then displays operation progress and the final outcome. With `--json --watch`, the command outputs one structured JSON document after every operation reaches a terminal status.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `MigrationSubmissionResult` schema.\n\n```json\n{\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"changed\": {\n \"type\": \"boolean\"\n },\n \"clientId\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"The app client ID, not a Shopify GID.\"\n },\n \"action\": {\n \"type\": \"string\",\n \"enum\": [\n \"schedule\",\n \"unschedule\"\n ]\n },\n \"inputDigest\": {\n \"type\": \"string\",\n \"minLength\": 1\n },\n \"total\": {\n \"type\": \"integer\",\n \"minimum\": 0\n },\n \"operations\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/SubmittedMigrationOperation\"\n }\n }\n },\n \"required\": [\n \"status\",\n \"changed\",\n \"clientId\",\n \"action\",\n \"inputDigest\",\n \"total\",\n \"operations\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"partial\"\n },\n \"changed\": {\n \"type\": \"boolean\"\n },\n \"clientId\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"The app client ID, not a Shopify GID.\"\n },\n \"action\": {\n \"type\": \"string\",\n \"enum\": [\n \"schedule\",\n \"unschedule\"\n ]\n },\n \"inputDigest\": {\n \"type\": \"string\",\n \"minLength\": 1\n },\n \"total\": {\n \"type\": \"integer\",\n \"minimum\": 0\n },\n \"operations\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/SubmittedMigrationOperation\"\n }\n },\n \"failure\": {\n \"$ref\": \"#/definitions/MigrationSubmissionFailure\"\n }\n },\n \"required\": [\n \"status\",\n \"changed\",\n \"clientId\",\n \"action\",\n \"inputDigest\",\n \"total\",\n \"operations\",\n \"failure\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"cancelled\"\n },\n \"changed\": {\n \"type\": \"boolean\",\n \"const\": false\n },\n \"action\": {\n \"type\": \"string\",\n \"enum\": [\n \"schedule\",\n \"unschedule\"\n ]\n },\n \"reason\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"status\",\n \"changed\",\n \"action\",\n \"reason\"\n ],\n \"additionalProperties\": false\n }\n ],\n \"title\": \"MigrationSubmissionResult\",\n \"definitions\": {\n \"SubmittedMigrationOperation\": {\n \"type\": \"object\",\n \"properties\": {\n \"batchIndex\": {\n \"type\": \"integer\",\n \"minimum\": 0\n },\n \"batchPayloadDigest\": {\n \"type\": \"string\",\n \"minLength\": 1\n },\n \"operation\": {\n \"$ref\": \"#/definitions/MigrationOperation\"\n }\n },\n \"required\": [\n \"batchIndex\",\n \"batchPayloadDigest\",\n \"operation\"\n ],\n \"additionalProperties\": false\n },\n \"MigrationOperation\": {\n \"type\": \"object\",\n \"properties\": {\n \"gid\": {\n \"type\": \"string\",\n \"pattern\": \"^gid:\\\\/\\\\/shopify\\\\/AppSubscriptionMigrationOperation\\\\/[^/]+$\",\n \"description\": \"The Shopify AppSubscriptionMigrationOperation GID.\"\n },\n \"status\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"Upstream status: RUNNING, COMPLETED, FAILED, or CANCELED.\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"minimum\": 0\n },\n \"results\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"shopGid\": {\n \"type\": \"string\",\n \"pattern\": \"^gid:\\\\/\\\\/shopify\\\\/Shop\\\\/\\\\d+$\",\n \"description\": \"The Shopify Shop GID.\"\n },\n \"code\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"The upstream per-shop migration result code.\"\n }\n },\n \"required\": [\n \"shopGid\",\n \"code\"\n ],\n \"additionalProperties\": false\n }\n }\n },\n \"required\": [\n \"gid\",\n \"status\",\n \"total\",\n \"results\"\n ],\n \"additionalProperties\": false\n },\n \"MigrationSubmissionFailure\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"submission\"\n },\n \"batchIndex\": {\n \"type\": \"integer\",\n \"minimum\": 0\n },\n \"userErrors\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/MigrationUserError\"\n }\n }\n },\n \"required\": [\n \"type\",\n \"batchIndex\",\n \"userErrors\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"operations\"\n },\n \"operationGids\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/MigrationOperation/properties/gid\"\n }\n }\n },\n \"required\": [\n \"type\",\n \"operationGids\"\n ],\n \"additionalProperties\": false\n }\n ]\n },\n \"MigrationUserError\": {\n \"type\": \"object\",\n \"properties\": {\n \"message\": {\n \"type\": \"string\"\n },\n \"fieldPath\": {\n \"anyOf\": [\n {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n {\n \"type\": \"null\"\n }\n ]\n }\n },\n \"required\": [\n \"message\",\n \"fieldPath\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
2944
3007
|
"examples": [
|
|
2945
3008
|
"<%= config.bin %> <%= command.id %> --input migrations.csv --force",
|
|
2946
3009
|
"cat migrations.csv | <%= config.bin %> <%= command.id %> --force",
|
|
@@ -3077,7 +3140,7 @@
|
|
|
3077
3140
|
"app:subscription-migrations:status": {
|
|
3078
3141
|
"aliases": [],
|
|
3079
3142
|
"args": {},
|
|
3080
|
-
"description": "Checks app subscription migration operation status.\n\nRepeat `--id` for every operation GID returned by a multi-batch submission. With `--watch`, the command displays the current state while polling and outputs the final state after all requested operations reach a terminal status.\n\n`RUNNING` means an operation is still processing. `COMPLETED` means processing finished, but you must inspect the per-shop results to confirm each outcome. `FAILED` means the operation failed, and `CANCELED` means cancellation stopped further processing.\n\nUse `--json` to output every operation and its per-shop results as structured JSON.\n\nRun the command from an app project. By default, it uses the Client ID from the active app configuration. Use `--path` to select an app directory or `--config` to select a configuration. Pass `--client-id` to select a different app within the project. Use `--reset` to relink the app.",
|
|
3143
|
+
"description": "Checks app subscription migration operation status.\n\nRepeat `--id` for every operation GID returned by a multi-batch submission. With `--watch`, the command displays the current state while polling and outputs the final state after all requested operations reach a terminal status.\n\n`RUNNING` means an operation is still processing. `COMPLETED` means processing finished, but you must inspect the per-shop results to confirm each outcome. `FAILED` means the operation failed, and `CANCELED` means cancellation stopped further processing.\n\nUse `--json` to output every operation and its per-shop results as structured JSON.\n\nRun the command from an app project. By default, it uses the Client ID from the active app configuration. Use `--path` to select an app directory or `--config` to select a configuration. Pass `--client-id` to select a different app within the project. Use `--reset` to relink the app.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `MigrationStatusResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"operations\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/MigrationOperation\"\n }\n }\n },\n \"required\": [\n \"operations\"\n ],\n \"additionalProperties\": false,\n \"title\": \"MigrationStatusResult\",\n \"definitions\": {\n \"MigrationOperation\": {\n \"type\": \"object\",\n \"properties\": {\n \"gid\": {\n \"type\": \"string\",\n \"pattern\": \"^gid:\\\\/\\\\/shopify\\\\/AppSubscriptionMigrationOperation\\\\/[^/]+$\",\n \"description\": \"The Shopify AppSubscriptionMigrationOperation GID.\"\n },\n \"status\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"Upstream status: RUNNING, COMPLETED, FAILED, or CANCELED.\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"minimum\": 0\n },\n \"results\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"shopGid\": {\n \"type\": \"string\",\n \"pattern\": \"^gid:\\\\/\\\\/shopify\\\\/Shop\\\\/\\\\d+$\",\n \"description\": \"The Shopify Shop GID.\"\n },\n \"code\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"The upstream per-shop migration result code.\"\n }\n },\n \"required\": [\n \"shopGid\",\n \"code\"\n ],\n \"additionalProperties\": false\n }\n }\n },\n \"required\": [\n \"gid\",\n \"status\",\n \"total\",\n \"results\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
3081
3144
|
"examples": [
|
|
3082
3145
|
"<%= config.bin %> <%= command.id %> --id <operation-id>",
|
|
3083
3146
|
"<%= config.bin %> <%= command.id %> --path ../my-app --config staging --id <operation-id-1> --id <operation-id-2> --watch",
|
|
@@ -3204,7 +3267,7 @@
|
|
|
3204
3267
|
"app:subscription-migrations:unschedule": {
|
|
3205
3268
|
"aliases": [],
|
|
3206
3269
|
"args": {},
|
|
3207
|
-
"description": "Reverses scheduled app subscription migrations that have not migrated yet.\n\nWhen `--input` is omitted, the command reads CSV data from stdin. Use `--input <path>` to read from a file. `--input -` is also supported as an explicit stdin path.\n\n- Required CSV header: `shop_id`.\n- Example row: `123456789`.\n\nThe CSV can contain only the `shop_id` header, or it can reuse the complete CSV supplied to `schedule`; schedule-only columns are ignored.\n\nUnscheduling is not a rollback after a subscription has migrated. The command validates the entire CSV before sending any mutation. Use `--force` to skip confirmation and immediately submit every valid row.\n\nOperations are submitted in batches of 250 shops. Preserve every operation GID printed by the command so you can check or cancel the submitted operations. With `--watch`, human-readable output shows accepted identifiers before polling begins, then displays operation progress and the final outcome. With `--json --watch`, the command outputs one structured JSON document after every operation reaches a terminal status.\n\nRun the command from an app project. By default, it uses the Client ID from the active app configuration. Use `--path` to select an app directory or `--config` to select a configuration. Pass `--client-id` to select a different app within the project. Use `--reset` to relink the app.",
|
|
3270
|
+
"description": "Reverses scheduled app subscription migrations that have not migrated yet.\n\nWhen `--input` is omitted, the command reads CSV data from stdin. Use `--input <path>` to read from a file. `--input -` is also supported as an explicit stdin path.\n\n- Required CSV header: `shop_id`.\n- Example row: `123456789`.\n\nThe CSV can contain only the `shop_id` header, or it can reuse the complete CSV supplied to `schedule`; schedule-only columns are ignored.\n\nUnscheduling is not a rollback after a subscription has migrated. The command validates the entire CSV before sending any mutation. Use `--force` to skip confirmation and immediately submit every valid row.\n\nOperations are submitted in batches of 250 shops. Preserve every operation GID printed by the command so you can check or cancel the submitted operations. With `--watch`, human-readable output shows accepted identifiers before polling begins, then displays operation progress and the final outcome. With `--json --watch`, the command outputs one structured JSON document after every operation reaches a terminal status.\n\nRun the command from an app project. By default, it uses the Client ID from the active app configuration. Use `--path` to select an app directory or `--config` to select a configuration. Pass `--client-id` to select a different app within the project. Use `--reset` to relink the app.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `MigrationSubmissionResult` schema.\n\n```json\n{\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"changed\": {\n \"type\": \"boolean\"\n },\n \"clientId\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"The app client ID, not a Shopify GID.\"\n },\n \"action\": {\n \"type\": \"string\",\n \"enum\": [\n \"schedule\",\n \"unschedule\"\n ]\n },\n \"inputDigest\": {\n \"type\": \"string\",\n \"minLength\": 1\n },\n \"total\": {\n \"type\": \"integer\",\n \"minimum\": 0\n },\n \"operations\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/SubmittedMigrationOperation\"\n }\n }\n },\n \"required\": [\n \"status\",\n \"changed\",\n \"clientId\",\n \"action\",\n \"inputDigest\",\n \"total\",\n \"operations\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"partial\"\n },\n \"changed\": {\n \"type\": \"boolean\"\n },\n \"clientId\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"The app client ID, not a Shopify GID.\"\n },\n \"action\": {\n \"type\": \"string\",\n \"enum\": [\n \"schedule\",\n \"unschedule\"\n ]\n },\n \"inputDigest\": {\n \"type\": \"string\",\n \"minLength\": 1\n },\n \"total\": {\n \"type\": \"integer\",\n \"minimum\": 0\n },\n \"operations\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/SubmittedMigrationOperation\"\n }\n },\n \"failure\": {\n \"$ref\": \"#/definitions/MigrationSubmissionFailure\"\n }\n },\n \"required\": [\n \"status\",\n \"changed\",\n \"clientId\",\n \"action\",\n \"inputDigest\",\n \"total\",\n \"operations\",\n \"failure\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"cancelled\"\n },\n \"changed\": {\n \"type\": \"boolean\",\n \"const\": false\n },\n \"action\": {\n \"type\": \"string\",\n \"enum\": [\n \"schedule\",\n \"unschedule\"\n ]\n },\n \"reason\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"status\",\n \"changed\",\n \"action\",\n \"reason\"\n ],\n \"additionalProperties\": false\n }\n ],\n \"title\": \"MigrationSubmissionResult\",\n \"definitions\": {\n \"SubmittedMigrationOperation\": {\n \"type\": \"object\",\n \"properties\": {\n \"batchIndex\": {\n \"type\": \"integer\",\n \"minimum\": 0\n },\n \"batchPayloadDigest\": {\n \"type\": \"string\",\n \"minLength\": 1\n },\n \"operation\": {\n \"$ref\": \"#/definitions/MigrationOperation\"\n }\n },\n \"required\": [\n \"batchIndex\",\n \"batchPayloadDigest\",\n \"operation\"\n ],\n \"additionalProperties\": false\n },\n \"MigrationOperation\": {\n \"type\": \"object\",\n \"properties\": {\n \"gid\": {\n \"type\": \"string\",\n \"pattern\": \"^gid:\\\\/\\\\/shopify\\\\/AppSubscriptionMigrationOperation\\\\/[^/]+$\",\n \"description\": \"The Shopify AppSubscriptionMigrationOperation GID.\"\n },\n \"status\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"Upstream status: RUNNING, COMPLETED, FAILED, or CANCELED.\"\n },\n \"total\": {\n \"type\": \"integer\",\n \"minimum\": 0\n },\n \"results\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"shopGid\": {\n \"type\": \"string\",\n \"pattern\": \"^gid:\\\\/\\\\/shopify\\\\/Shop\\\\/\\\\d+$\",\n \"description\": \"The Shopify Shop GID.\"\n },\n \"code\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"The upstream per-shop migration result code.\"\n }\n },\n \"required\": [\n \"shopGid\",\n \"code\"\n ],\n \"additionalProperties\": false\n }\n }\n },\n \"required\": [\n \"gid\",\n \"status\",\n \"total\",\n \"results\"\n ],\n \"additionalProperties\": false\n },\n \"MigrationSubmissionFailure\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"submission\"\n },\n \"batchIndex\": {\n \"type\": \"integer\",\n \"minimum\": 0\n },\n \"userErrors\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/MigrationUserError\"\n }\n }\n },\n \"required\": [\n \"type\",\n \"batchIndex\",\n \"userErrors\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"operations\"\n },\n \"operationGids\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/MigrationOperation/properties/gid\"\n }\n }\n },\n \"required\": [\n \"type\",\n \"operationGids\"\n ],\n \"additionalProperties\": false\n }\n ]\n },\n \"MigrationUserError\": {\n \"type\": \"object\",\n \"properties\": {\n \"message\": {\n \"type\": \"string\"\n },\n \"fieldPath\": {\n \"anyOf\": [\n {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n {\n \"type\": \"null\"\n }\n ]\n }\n },\n \"required\": [\n \"message\",\n \"fieldPath\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
3208
3271
|
"examples": [
|
|
3209
3272
|
"<%= config.bin %> <%= command.id %> --input migrations.csv --force",
|
|
3210
3273
|
"cat migrations.csv | <%= config.bin %> <%= command.id %> --force",
|
|
@@ -3341,7 +3404,7 @@
|
|
|
3341
3404
|
"app:config:link": {
|
|
3342
3405
|
"aliases": [],
|
|
3343
3406
|
"args": {},
|
|
3344
|
-
"description": "Pulls app configuration from the Developer Dashboard and creates or overwrites a configuration file. You can create a new app with this command to start with a default configuration file.\n\n For more information on the format of the created TOML configuration file, refer to the \"App configuration\" (https://shopify.dev/docs/apps/tools/cli/configuration) page.\n ",
|
|
3407
|
+
"description": "Pulls app configuration from the Developer Dashboard and creates or overwrites a configuration file. You can create a new app with this command to start with a default configuration file.\n\n For more information on the format of the created TOML configuration file, refer to the \"App configuration\" (https://shopify.dev/docs/apps/tools/cli/configuration) page.\n \n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `AppConfigLinkResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"path\": {\n \"type\": \"string\"\n },\n \"app\": {\n \"$ref\": \"#/definitions/LinkedApp\"\n }\n },\n \"required\": [\n \"path\",\n \"app\"\n ],\n \"additionalProperties\": false,\n \"title\": \"AppConfigLinkResult\",\n \"definitions\": {\n \"LinkedApp\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"minLength\": 1\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The upstream non-GID app identifier, or null when the platform supplies a GID.\"\n },\n \"gid\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"pattern\": \"^gid:\\\\/\\\\/shopify\\\\/App\\\\/[^\\\\s/]+$\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The Shopify App GID, or null when the platform supplies another identifier.\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"clientId\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"The public OAuth client identifier.\"\n },\n \"organizationId\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"minLength\": 1\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The upstream non-GID organization identifier, or null when unavailable.\"\n },\n \"organizationGid\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"pattern\": \"^gid:\\\\/\\\\/shopify\\\\/Organization\\\\/[^\\\\s/]+$\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The Shopify Organization GID, or null when unavailable.\"\n }\n },\n \"required\": [\n \"id\",\n \"gid\",\n \"name\",\n \"clientId\",\n \"organizationId\",\n \"organizationGid\"\n ],\n \"additionalProperties\": false,\n \"description\": \"The linked app identity. Read the file at path for its configuration.\"\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
3345
3408
|
"flags": {
|
|
3346
3409
|
"json-schema": {
|
|
3347
3410
|
"description": "Print the command's JSON schemas.",
|
|
@@ -3381,6 +3444,15 @@
|
|
|
3381
3444
|
"allowNo": false,
|
|
3382
3445
|
"type": "boolean"
|
|
3383
3446
|
},
|
|
3447
|
+
"json": {
|
|
3448
|
+
"char": "j",
|
|
3449
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
3450
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
3451
|
+
"hidden": false,
|
|
3452
|
+
"name": "json",
|
|
3453
|
+
"allowNo": false,
|
|
3454
|
+
"type": "boolean"
|
|
3455
|
+
},
|
|
3384
3456
|
"path": {
|
|
3385
3457
|
"description": "The path to your app directory.",
|
|
3386
3458
|
"env": "SHOPIFY_FLAG_PATH",
|
|
@@ -3474,7 +3546,7 @@
|
|
|
3474
3546
|
"name": "config"
|
|
3475
3547
|
}
|
|
3476
3548
|
},
|
|
3477
|
-
"description": "Sets default configuration when you run app-related CLI commands. If you omit the `config-name` parameter, then you'll be prompted to choose from the configuration files in your project.",
|
|
3549
|
+
"description": "Sets default configuration when you run app-related CLI commands. If you omit the `config-name` parameter, then you'll be prompted to choose from the configuration files in your project.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `AppConfigUseResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"changed\": {\n \"type\": \"boolean\",\n \"description\": \"Whether the preferred configuration changed.\"\n },\n \"path\": {\n \"anyOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The preferred configuration file, or null after clearing the preference.\"\n },\n \"clientId\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"minLength\": 1\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The public OAuth client identifier, or null after clearing the preference.\"\n }\n },\n \"required\": [\n \"status\",\n \"changed\",\n \"path\",\n \"clientId\"\n ],\n \"additionalProperties\": false,\n \"title\": \"AppConfigUseResult\",\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
3478
3550
|
"flags": {
|
|
3479
3551
|
"json-schema": {
|
|
3480
3552
|
"description": "Print the command's JSON schemas.",
|
|
@@ -3514,6 +3586,15 @@
|
|
|
3514
3586
|
"allowNo": false,
|
|
3515
3587
|
"type": "boolean"
|
|
3516
3588
|
},
|
|
3589
|
+
"json": {
|
|
3590
|
+
"char": "j",
|
|
3591
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
3592
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
3593
|
+
"hidden": false,
|
|
3594
|
+
"name": "json",
|
|
3595
|
+
"allowNo": false,
|
|
3596
|
+
"type": "boolean"
|
|
3597
|
+
},
|
|
3517
3598
|
"path": {
|
|
3518
3599
|
"description": "The path to your app directory.",
|
|
3519
3600
|
"env": "SHOPIFY_FLAG_PATH",
|
|
@@ -3562,7 +3643,7 @@
|
|
|
3562
3643
|
"app:config:pull": {
|
|
3563
3644
|
"aliases": [],
|
|
3564
3645
|
"args": {},
|
|
3565
|
-
"description": "Pulls the latest configuration from the already-linked Shopify app and updates the selected configuration file.\n\nThis command reuses the existing linked app and organization and skips all interactive prompts. Use `--config` to target a specific configuration file, or omit it to use the default one.",
|
|
3646
|
+
"description": "Pulls the latest configuration from the already-linked Shopify app and updates the selected configuration file.\n\nThis command reuses the existing linked app and organization and skips all interactive prompts. Use `--config` to target a specific configuration file, or omit it to use the default one.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `AppConfigPullResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"path\": {\n \"type\": \"string\"\n },\n \"app\": {\n \"$ref\": \"#/definitions/LinkedApp\"\n }\n },\n \"required\": [\n \"path\",\n \"app\"\n ],\n \"additionalProperties\": false,\n \"title\": \"AppConfigPullResult\",\n \"definitions\": {\n \"LinkedApp\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"minLength\": 1\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The upstream non-GID app identifier, or null when the platform supplies a GID.\"\n },\n \"gid\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"pattern\": \"^gid:\\\\/\\\\/shopify\\\\/App\\\\/[^\\\\s/]+$\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The Shopify App GID, or null when the platform supplies another identifier.\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"clientId\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"The public OAuth client identifier.\"\n },\n \"organizationId\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"minLength\": 1\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The upstream non-GID organization identifier, or null when unavailable.\"\n },\n \"organizationGid\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"pattern\": \"^gid:\\\\/\\\\/shopify\\\\/Organization\\\\/[^\\\\s/]+$\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The Shopify Organization GID, or null when unavailable.\"\n }\n },\n \"required\": [\n \"id\",\n \"gid\",\n \"name\",\n \"clientId\",\n \"organizationId\",\n \"organizationGid\"\n ],\n \"additionalProperties\": false,\n \"description\": \"The linked app identity. Read the file at path for its configuration.\"\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
3566
3647
|
"flags": {
|
|
3567
3648
|
"json-schema": {
|
|
3568
3649
|
"description": "Print the command's JSON schemas.",
|
|
@@ -3602,6 +3683,15 @@
|
|
|
3602
3683
|
"allowNo": false,
|
|
3603
3684
|
"type": "boolean"
|
|
3604
3685
|
},
|
|
3686
|
+
"json": {
|
|
3687
|
+
"char": "j",
|
|
3688
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
3689
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
3690
|
+
"hidden": false,
|
|
3691
|
+
"name": "json",
|
|
3692
|
+
"allowNo": false,
|
|
3693
|
+
"type": "boolean"
|
|
3694
|
+
},
|
|
3605
3695
|
"path": {
|
|
3606
3696
|
"description": "The path to your app directory.",
|
|
3607
3697
|
"env": "SHOPIFY_FLAG_PATH",
|
|
@@ -3659,7 +3749,7 @@
|
|
|
3659
3749
|
"app:env:pull": {
|
|
3660
3750
|
"aliases": [],
|
|
3661
3751
|
"args": {},
|
|
3662
|
-
"description": "Creates or updates an `.env` files that contains app and app extension environment variables.\n\n When an existing `.env` file is updated, changes to the variables are displayed in the terminal output. Existing variables and commented variables are preserved.",
|
|
3752
|
+
"description": "Creates or updates an `.env` files that contains app and app extension environment variables.\n\n When an existing `.env` file is updated, changes to the variables are displayed in the terminal output. Existing variables and commented variables are preserved.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `AppEnvPullResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"path\": {\n \"type\": \"string\",\n \"description\": \"The absolute native dotenv file path.\"\n },\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"changed\": {\n \"type\": \"boolean\",\n \"description\": \"Whether the dotenv file was created or updated.\"\n },\n \"variables\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/AppEnvironmentVariable\"\n },\n \"description\": \"The known app variables, not unrelated local variables.\"\n },\n \"content\": {\n \"type\": \"string\",\n \"description\": \"The complete native dotenv content, preserving existing variables and comments.\"\n }\n },\n \"required\": [\n \"path\",\n \"status\",\n \"changed\",\n \"variables\",\n \"content\"\n ],\n \"additionalProperties\": false,\n \"title\": \"AppEnvPullResult\",\n \"definitions\": {\n \"AppEnvironmentVariable\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"The environment variable name with its original spelling.\"\n },\n \"value\": {\n \"type\": \"string\",\n \"description\": \"The value, included only when known.\"\n },\n \"isSecret\": {\n \"type\": \"boolean\",\n \"description\": \"Whether the value is secret, included only when known.\"\n },\n \"id\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"The upstream variable identifier, included only when known.\"\n },\n \"readOnly\": {\n \"type\": \"boolean\",\n \"description\": \"Whether the variable is read-only, included only when known.\"\n }\n },\n \"required\": [\n \"name\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
3663
3753
|
"flags": {
|
|
3664
3754
|
"json-schema": {
|
|
3665
3755
|
"description": "Print the command's JSON schemas.",
|
|
@@ -3699,11 +3789,20 @@
|
|
|
3699
3789
|
"allowNo": false,
|
|
3700
3790
|
"type": "boolean"
|
|
3701
3791
|
},
|
|
3702
|
-
"
|
|
3703
|
-
"
|
|
3704
|
-
"
|
|
3705
|
-
"
|
|
3706
|
-
"
|
|
3792
|
+
"json": {
|
|
3793
|
+
"char": "j",
|
|
3794
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
3795
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
3796
|
+
"hidden": false,
|
|
3797
|
+
"name": "json",
|
|
3798
|
+
"allowNo": false,
|
|
3799
|
+
"type": "boolean"
|
|
3800
|
+
},
|
|
3801
|
+
"path": {
|
|
3802
|
+
"description": "The path to your app directory.",
|
|
3803
|
+
"env": "SHOPIFY_FLAG_PATH",
|
|
3804
|
+
"name": "path",
|
|
3805
|
+
"noCacheDefault": true,
|
|
3707
3806
|
"hasDynamicHelp": false,
|
|
3708
3807
|
"multiple": false,
|
|
3709
3808
|
"type": "option"
|
|
@@ -3765,7 +3864,7 @@
|
|
|
3765
3864
|
"app:env:show": {
|
|
3766
3865
|
"aliases": [],
|
|
3767
3866
|
"args": {},
|
|
3768
|
-
"description": "Displays environment variables that can be used to deploy apps and app extensions.",
|
|
3867
|
+
"description": "Displays environment variables that can be used to deploy apps and app extensions.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `AppEnvShowResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"variables\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/AppEnvironmentVariable\"\n }\n }\n },\n \"required\": [\n \"variables\"\n ],\n \"additionalProperties\": false,\n \"title\": \"AppEnvShowResult\",\n \"definitions\": {\n \"AppEnvironmentVariable\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"The environment variable name with its original spelling.\"\n },\n \"value\": {\n \"type\": \"string\",\n \"description\": \"The value, included only when known.\"\n },\n \"isSecret\": {\n \"type\": \"boolean\",\n \"description\": \"Whether the value is secret, included only when known.\"\n },\n \"id\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"The upstream variable identifier, included only when known.\"\n },\n \"readOnly\": {\n \"type\": \"boolean\",\n \"description\": \"Whether the variable is read-only, included only when known.\"\n }\n },\n \"required\": [\n \"name\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
3769
3868
|
"flags": {
|
|
3770
3869
|
"json-schema": {
|
|
3771
3870
|
"description": "Print the command's JSON schemas.",
|
|
@@ -3805,6 +3904,15 @@
|
|
|
3805
3904
|
"allowNo": false,
|
|
3806
3905
|
"type": "boolean"
|
|
3807
3906
|
},
|
|
3907
|
+
"json": {
|
|
3908
|
+
"char": "j",
|
|
3909
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
3910
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
3911
|
+
"hidden": false,
|
|
3912
|
+
"name": "json",
|
|
3913
|
+
"allowNo": false,
|
|
3914
|
+
"type": "boolean"
|
|
3915
|
+
},
|
|
3808
3916
|
"path": {
|
|
3809
3917
|
"description": "The path to your app directory.",
|
|
3810
3918
|
"env": "SHOPIFY_FLAG_PATH",
|
|
@@ -3862,7 +3970,7 @@
|
|
|
3862
3970
|
"app:execute": {
|
|
3863
3971
|
"aliases": [],
|
|
3864
3972
|
"args": {},
|
|
3865
|
-
"description": "Executes an Admin API GraphQL query or mutation on the specified store. Mutations are only allowed on dev stores.\n\n For operations that process large amounts of data, use \"`bulk execute`\" (https://shopify.dev/docs/api/shopify-cli/app/app-bulk-execute) instead.",
|
|
3973
|
+
"description": "Executes an Admin API GraphQL query or mutation on the specified store. Mutations are only allowed on dev stores.\n\n For operations that process large amounts of data, use \"`bulk execute`\" (https://shopify.dev/docs/api/shopify-cli/app/app-bulk-execute) instead.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `AppExecuteResult` schema.\n\n```json\n{\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/AppExecuteGraphQLResult\"\n },\n {\n \"$ref\": \"#/definitions/AppExecuteFileReceipt\"\n }\n ],\n \"title\": \"AppExecuteResult\",\n \"definitions\": {\n \"AppExecuteGraphQLResult\": {\n \"type\": \"object\",\n \"properties\": {\n \"data\": {\n \"anyOf\": [\n {\n \"allOf\": [\n {},\n {\n \"type\": \"object\",\n \"additionalProperties\": {}\n }\n ]\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"Native GraphQL query data, preserving fields and aliases.\"\n },\n \"extensions\": {\n \"$ref\": \"#/definitions/AppExecuteGraphQLResult/properties/data/anyOf/0\",\n \"description\": \"Native GraphQL response extensions, when supplied.\"\n }\n },\n \"required\": [\n \"data\"\n ],\n \"additionalProperties\": false\n },\n \"AppExecuteFileReceipt\": {\n \"type\": \"object\",\n \"properties\": {\n \"path\": {\n \"type\": \"string\"\n },\n \"format\": {\n \"type\": \"string\",\n \"const\": \"json\"\n }\n },\n \"required\": [\n \"path\",\n \"format\"\n ],\n \"additionalProperties\": false,\n \"description\": \"Receipt for a written JSON file containing the GraphQL result, including data and optional extensions.\"\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
3866
3974
|
"flags": {
|
|
3867
3975
|
"json-schema": {
|
|
3868
3976
|
"description": "Print the command's JSON schemas.",
|
|
@@ -4009,6 +4117,15 @@
|
|
|
4009
4117
|
"hasDynamicHelp": false,
|
|
4010
4118
|
"multiple": false,
|
|
4011
4119
|
"type": "option"
|
|
4120
|
+
},
|
|
4121
|
+
"json": {
|
|
4122
|
+
"char": "j",
|
|
4123
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
4124
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
4125
|
+
"hidden": false,
|
|
4126
|
+
"name": "json",
|
|
4127
|
+
"allowNo": false,
|
|
4128
|
+
"type": "boolean"
|
|
4012
4129
|
}
|
|
4013
4130
|
},
|
|
4014
4131
|
"hasDynamicHelp": false,
|
|
@@ -4160,7 +4277,7 @@
|
|
|
4160
4277
|
"app:bulk:execute": {
|
|
4161
4278
|
"aliases": [],
|
|
4162
4279
|
"args": {},
|
|
4163
|
-
"description": "Executes an Admin API GraphQL query or mutation on the specified store, as a bulk operation. Mutations are only allowed on dev stores.\n\n Bulk operations allow you to process large amounts of data asynchronously. Learn more about \"bulk query operations\" (https://shopify.dev/docs/api/usage/bulk-operations/queries) and \"bulk mutation operations\" (https://shopify.dev/docs/api/usage/bulk-operations/imports).\n\n Use \"`bulk status`\" (https://shopify.dev/docs/api/shopify-cli/app/app-bulk-status) to check the status of your bulk operations.",
|
|
4280
|
+
"description": "Executes an Admin API GraphQL query or mutation on the specified store, as a bulk operation. Mutations are only allowed on dev stores.\n\n Bulk operations allow you to process large amounts of data asynchronously. Learn more about \"bulk query operations\" (https://shopify.dev/docs/api/usage/bulk-operations/queries) and \"bulk mutation operations\" (https://shopify.dev/docs/api/usage/bulk-operations/imports).\n\n Use \"`bulk status`\" (https://shopify.dev/docs/api/shopify-cli/app/app-bulk-status) to check the status of your bulk operations.\n\n With `--watch`, completed results are written as JSONL to stdout or `--output-file`. With `--json`, stdout contains one result object with operation details and downloaded JSONL in `resultsJsonl`. With `--json --output-file`, stdout contains only an absolute file receipt with `path` and `format`.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `ExecuteBulkOperationResult` schema.\n\n```json\n{\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/ExecuteBulkOperationResult\"\n },\n {\n \"$ref\": \"#/definitions/BulkOperationFile\"\n }\n ],\n \"title\": \"ExecuteBulkOperationResult\",\n \"definitions\": {\n \"BulkOperation\": {\n \"type\": \"object\",\n \"properties\": {\n \"gid\": {\n \"type\": \"string\",\n \"pattern\": \"^gid:\\\\/\\\\/shopify\\\\/BulkOperation\\\\/[^/]+$\",\n \"description\": \"The Shopify global ID of a bulk operation.\"\n },\n \"type\": {\n \"type\": \"string\"\n },\n \"status\": {\n \"type\": \"string\"\n },\n \"errorCode\": {\n \"type\": [\n \"string\",\n \"null\"\n ]\n },\n \"createdAt\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"pattern\": \"^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}Z$\",\n \"description\": \"A UTC ISO 8601 instant with whole seconds and the Z timezone marker.\"\n },\n \"completedAt\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/BulkOperation/properties/createdAt\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"A UTC ISO 8601 instant with whole seconds and the Z timezone marker.\"\n },\n \"objectCount\": {\n \"type\": \"string\",\n \"pattern\": \"^\\\\d+$\",\n \"description\": \"A nonnegative decimal count, without loss of integer precision.\"\n },\n \"url\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"partialDataUrl\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n {\n \"type\": \"null\"\n }\n ]\n }\n },\n \"required\": [\n \"gid\",\n \"type\",\n \"status\",\n \"errorCode\",\n \"createdAt\",\n \"completedAt\",\n \"objectCount\",\n \"url\",\n \"partialDataUrl\"\n ],\n \"additionalProperties\": false\n },\n \"ExecuteBulkOperationResult\": {\n \"type\": \"object\",\n \"properties\": {\n \"storeDomain\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"pattern\": \"^[^.]+\\\\.myshopify\\\\.com$\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"apiVersion\": {\n \"type\": [\n \"string\",\n \"null\"\n ],\n \"description\": \"The API version selected for the request.\"\n },\n \"status\": {\n \"type\": \"string\",\n \"enum\": [\n \"success\",\n \"partial\",\n \"cancelled\"\n ]\n },\n \"reason\": {\n \"type\": \"string\",\n \"const\": \"watch-aborted\"\n },\n \"operation\": {\n \"$ref\": \"#/definitions/BulkOperation\"\n },\n \"resultsJsonl\": {\n \"type\": \"string\",\n \"description\": \"Downloaded results in their native JSONL format.\"\n }\n },\n \"required\": [\n \"storeDomain\",\n \"apiVersion\",\n \"status\",\n \"operation\"\n ],\n \"additionalProperties\": false\n },\n \"BulkOperationFile\": {\n \"type\": \"object\",\n \"properties\": {\n \"path\": {\n \"type\": \"string\",\n \"description\": \"The absolute path of the downloaded results file.\"\n },\n \"format\": {\n \"type\": \"string\",\n \"const\": \"jsonl\"\n }\n },\n \"required\": [\n \"path\",\n \"format\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
4164
4281
|
"flags": {
|
|
4165
4282
|
"json-schema": {
|
|
4166
4283
|
"description": "Print the command's JSON schemas.",
|
|
@@ -4200,6 +4317,15 @@
|
|
|
4200
4317
|
"allowNo": false,
|
|
4201
4318
|
"type": "boolean"
|
|
4202
4319
|
},
|
|
4320
|
+
"json": {
|
|
4321
|
+
"char": "j",
|
|
4322
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
4323
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
4324
|
+
"hidden": false,
|
|
4325
|
+
"name": "json",
|
|
4326
|
+
"allowNo": false,
|
|
4327
|
+
"type": "boolean"
|
|
4328
|
+
},
|
|
4203
4329
|
"path": {
|
|
4204
4330
|
"description": "The path to your app directory.",
|
|
4205
4331
|
"env": "SHOPIFY_FLAG_PATH",
|
|
@@ -4327,13 +4453,13 @@
|
|
|
4327
4453
|
"pluginType": "core",
|
|
4328
4454
|
"strict": true,
|
|
4329
4455
|
"summary": "Execute bulk operations.",
|
|
4330
|
-
"descriptionWithMarkdown": "Executes an Admin API GraphQL query or mutation on the specified store, as a bulk operation. Mutations are only allowed on dev stores.\n\n Bulk operations allow you to process large amounts of data asynchronously. Learn more about [bulk query operations](https://shopify.dev/docs/api/usage/bulk-operations/queries) and [bulk mutation operations](https://shopify.dev/docs/api/usage/bulk-operations/imports).\n\n Use [`bulk status`](https://shopify.dev/docs/api/shopify-cli/app/app-bulk-status) to check the status of your bulk operations
|
|
4456
|
+
"descriptionWithMarkdown": "Executes an Admin API GraphQL query or mutation on the specified store, as a bulk operation. Mutations are only allowed on dev stores.\n\n Bulk operations allow you to process large amounts of data asynchronously. Learn more about [bulk query operations](https://shopify.dev/docs/api/usage/bulk-operations/queries) and [bulk mutation operations](https://shopify.dev/docs/api/usage/bulk-operations/imports).\n\n Use [`bulk status`](https://shopify.dev/docs/api/shopify-cli/app/app-bulk-status) to check the status of your bulk operations.\n\n With `--watch`, completed results are written as JSONL to stdout or `--output-file`. With `--json`, stdout contains one result object with operation details and downloaded JSONL in `resultsJsonl`. With `--json --output-file`, stdout contains only an absolute file receipt with `path` and `format`.",
|
|
4331
4457
|
"customPluginName": "@shopify/app"
|
|
4332
4458
|
},
|
|
4333
4459
|
"app:function:build": {
|
|
4334
4460
|
"aliases": [],
|
|
4335
4461
|
"args": {},
|
|
4336
|
-
"description": "Compiles the function in your current directory to WebAssembly (Wasm) for testing purposes.",
|
|
4462
|
+
"description": "Compiles the function in your current directory to WebAssembly (Wasm) for testing purposes.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `FunctionBuildResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"function\": {\n \"$ref\": \"#/definitions/FunctionBuild\"\n }\n },\n \"required\": [\n \"status\",\n \"function\"\n ],\n \"additionalProperties\": false,\n \"title\": \"FunctionBuildResult\",\n \"definitions\": {\n \"FunctionBuild\": {\n \"type\": \"object\",\n \"properties\": {\n \"handle\": {\n \"type\": [\n \"string\",\n \"null\"\n ],\n \"description\": \"Null when the extension does not configure a handle.\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"directory\": {\n \"type\": \"string\",\n \"pattern\": \"^(?:\\\\/|[a-zA-Z]:[\\\\\\\\/]|\\\\\\\\\\\\\\\\)\",\n \"description\": \"An absolute native filesystem path.\"\n },\n \"wasmPath\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/FunctionBuild/properties/directory\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The built Wasm file, or null when the build produced no file.\"\n }\n },\n \"required\": [\n \"handle\",\n \"name\",\n \"directory\",\n \"wasmPath\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
4337
4463
|
"flags": {
|
|
4338
4464
|
"json-schema": {
|
|
4339
4465
|
"description": "Print the command's JSON schemas.",
|
|
@@ -4415,6 +4541,15 @@
|
|
|
4415
4541
|
"name": "reset",
|
|
4416
4542
|
"allowNo": false,
|
|
4417
4543
|
"type": "boolean"
|
|
4544
|
+
},
|
|
4545
|
+
"json": {
|
|
4546
|
+
"char": "j",
|
|
4547
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
4548
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
4549
|
+
"hidden": false,
|
|
4550
|
+
"name": "json",
|
|
4551
|
+
"allowNo": false,
|
|
4552
|
+
"type": "boolean"
|
|
4418
4553
|
}
|
|
4419
4554
|
},
|
|
4420
4555
|
"hasDynamicHelp": false,
|
|
@@ -4431,7 +4566,7 @@
|
|
|
4431
4566
|
"app:function:replay": {
|
|
4432
4567
|
"aliases": [],
|
|
4433
4568
|
"args": {},
|
|
4434
|
-
"description": "Runs the function from your current directory for \"testing purposes\" (https://shopify.dev/docs/apps/functions/testing-and-debugging). To learn how you can monitor and debug functions when errors occur, refer to \"Shopify Functions error handling\" (https://shopify.dev/docs/api/functions/errors).",
|
|
4569
|
+
"description": "Runs the function from your current directory for \"testing purposes\" (https://shopify.dev/docs/apps/functions/testing-and-debugging). To learn how you can monitor and debug functions when errors occur, refer to \"Shopify Functions error handling\" (https://shopify.dev/docs/api/functions/errors).\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `FunctionRunResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"size\": {\n \"type\": \"integer\",\n \"minimum\": 0,\n \"description\": \"Module size in kilobytes, as reported by Function runner.\"\n },\n \"memory_usage\": {\n \"type\": \"integer\",\n \"minimum\": 0,\n \"description\": \"Linear memory usage in kilobytes, as reported by Function runner.\"\n },\n \"instructions\": {\n \"type\": \"integer\",\n \"minimum\": 0\n },\n \"logs\": {\n \"type\": \"string\"\n },\n \"input\": {\n \"description\": \"Native Function input; query keys and values are preserved.\"\n },\n \"output\": {\n \"description\": \"Native Function output, including the runner-specific invalid-output representation.\"\n },\n \"success\": {\n \"type\": \"boolean\",\n \"description\": \"False for a completed Function execution that failed; the command exits nonzero.\"\n }\n },\n \"required\": [\n \"name\",\n \"size\",\n \"memory_usage\",\n \"instructions\",\n \"logs\",\n \"input\",\n \"output\",\n \"success\"\n ],\n \"additionalProperties\": true,\n \"description\": \"The native JSON object produced by Function runner 7.x and 9.x. Extra upstream fields are preserved.\",\n \"title\": \"FunctionRunResult\",\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
4435
4570
|
"flags": {
|
|
4436
4571
|
"json-schema": {
|
|
4437
4572
|
"description": "Print the command's JSON schemas.",
|
|
@@ -4556,7 +4691,7 @@
|
|
|
4556
4691
|
"app:function:run": {
|
|
4557
4692
|
"aliases": [],
|
|
4558
4693
|
"args": {},
|
|
4559
|
-
"description": "Runs the function from your current directory for \"testing purposes\" (https://shopify.dev/docs/apps/functions/testing-and-debugging). To learn how you can monitor and debug functions when errors occur, refer to \"Shopify Functions error handling\" (https://shopify.dev/docs/api/functions/errors).",
|
|
4694
|
+
"description": "Runs the function from your current directory for \"testing purposes\" (https://shopify.dev/docs/apps/functions/testing-and-debugging). To learn how you can monitor and debug functions when errors occur, refer to \"Shopify Functions error handling\" (https://shopify.dev/docs/api/functions/errors).\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `FunctionRunResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"size\": {\n \"type\": \"integer\",\n \"minimum\": 0,\n \"description\": \"Module size in kilobytes, as reported by Function runner.\"\n },\n \"memory_usage\": {\n \"type\": \"integer\",\n \"minimum\": 0,\n \"description\": \"Linear memory usage in kilobytes, as reported by Function runner.\"\n },\n \"instructions\": {\n \"type\": \"integer\",\n \"minimum\": 0\n },\n \"logs\": {\n \"type\": \"string\"\n },\n \"input\": {\n \"description\": \"Native Function input; query keys and values are preserved.\"\n },\n \"output\": {\n \"description\": \"Native Function output, including the runner-specific invalid-output representation.\"\n },\n \"success\": {\n \"type\": \"boolean\",\n \"description\": \"False for a completed Function execution that failed; the command exits nonzero.\"\n }\n },\n \"required\": [\n \"name\",\n \"size\",\n \"memory_usage\",\n \"instructions\",\n \"logs\",\n \"input\",\n \"output\",\n \"success\"\n ],\n \"additionalProperties\": true,\n \"description\": \"The native JSON object produced by Function runner 7.x and 9.x. Extra upstream fields are preserved.\",\n \"title\": \"FunctionRunResult\",\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
4560
4695
|
"flags": {
|
|
4561
4696
|
"json-schema": {
|
|
4562
4697
|
"description": "Print the command's JSON schemas.",
|
|
@@ -4689,7 +4824,7 @@
|
|
|
4689
4824
|
"app:function:info": {
|
|
4690
4825
|
"aliases": [],
|
|
4691
4826
|
"args": {},
|
|
4692
|
-
"description": "The information returned includes the following:\n\n - The function handle\n - The function name\n - The function API version\n - The targeting configuration\n - The schema path\n - The WASM path\n - The function runner path",
|
|
4827
|
+
"description": "The information returned includes the following:\n\n - The function handle\n - The function name\n - The function API version\n - The targeting configuration\n - The schema path\n - The WASM path\n - The function runner path\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `FunctionInfoResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"function\": {\n \"$ref\": \"#/definitions/FunctionInfo\"\n }\n },\n \"required\": [\n \"function\"\n ],\n \"additionalProperties\": false,\n \"title\": \"FunctionInfoResult\",\n \"definitions\": {\n \"FunctionInfo\": {\n \"type\": \"object\",\n \"properties\": {\n \"handle\": {\n \"type\": [\n \"string\",\n \"null\"\n ],\n \"description\": \"Null when the extension does not configure a handle.\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"apiVersion\": {\n \"type\": [\n \"string\",\n \"null\"\n ],\n \"description\": \"The configured API version, or null when unavailable.\"\n },\n \"directory\": {\n \"type\": \"string\",\n \"pattern\": \"^(?:\\\\/|[a-zA-Z]:[\\\\\\\\/]|\\\\\\\\\\\\\\\\)\",\n \"description\": \"An absolute native filesystem path.\"\n },\n \"targets\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/FunctionTarget\"\n },\n \"description\": \"All configured targets; empty when none are configured.\"\n },\n \"schemaPath\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/FunctionInfo/properties/directory\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"Null when a GraphQL schema is unavailable.\"\n },\n \"wasmPath\": {\n \"$ref\": \"#/definitions/FunctionInfo/properties/directory\"\n },\n \"functionRunnerPath\": {\n \"$ref\": \"#/definitions/FunctionInfo/properties/directory\"\n }\n },\n \"required\": [\n \"handle\",\n \"name\",\n \"apiVersion\",\n \"directory\",\n \"targets\",\n \"schemaPath\",\n \"wasmPath\",\n \"functionRunnerPath\"\n ],\n \"additionalProperties\": false\n },\n \"FunctionTarget\": {\n \"type\": \"object\",\n \"properties\": {\n \"target\": {\n \"type\": \"string\",\n \"minLength\": 1\n },\n \"inputQueryPath\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/FunctionInfo/properties/directory\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"Null when no input query is configured.\"\n },\n \"export\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"minLength\": 1\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"Null when no WebAssembly export is configured.\"\n }\n },\n \"required\": [\n \"target\",\n \"inputQueryPath\",\n \"export\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
4693
4828
|
"flags": {
|
|
4694
4829
|
"json-schema": {
|
|
4695
4830
|
"description": "Print the command's JSON schemas.",
|
|
@@ -4796,7 +4931,7 @@
|
|
|
4796
4931
|
"app:function:schema": {
|
|
4797
4932
|
"aliases": [],
|
|
4798
4933
|
"args": {},
|
|
4799
|
-
"description": "Generates the latest \"GraphQL schema\" (https://shopify.dev/docs/apps/functions/input-output#graphql-schema) for a function in your app. Run this command from the function directory.\n\n This command uses the API type and version of your function, as defined in your extension TOML file, to generate the latest GraphQL schema. The schema is written to the `schema.graphql` file.",
|
|
4934
|
+
"description": "Generates the latest \"GraphQL schema\" (https://shopify.dev/docs/apps/functions/input-output#graphql-schema) for a function in your app. Run this command from the function directory.\n\n This command uses the API type and version of your function, as defined in your extension TOML file, to generate the latest GraphQL schema. The schema is written to the `schema.graphql` file.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `FunctionSchemaResult` schema.\n\n```json\n{\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/FunctionSchemaFile\"\n },\n {\n \"$ref\": \"#/definitions/FunctionSchemaContent\"\n }\n ],\n \"title\": \"FunctionSchemaResult\",\n \"definitions\": {\n \"FunctionSchemaFile\": {\n \"type\": \"object\",\n \"properties\": {\n \"path\": {\n \"type\": \"string\",\n \"pattern\": \"^(?:\\\\/|[a-zA-Z]:[\\\\\\\\/]|\\\\\\\\\\\\\\\\)\",\n \"description\": \"An absolute native filesystem path.\"\n },\n \"format\": {\n \"type\": \"string\",\n \"const\": \"graphql\",\n \"description\": \"The file contains native GraphQL SDL with the API-version header.\"\n }\n },\n \"required\": [\n \"path\",\n \"format\"\n ],\n \"additionalProperties\": false\n },\n \"FunctionSchemaContent\": {\n \"type\": \"object\",\n \"properties\": {\n \"schema\": {\n \"type\": \"string\",\n \"description\": \"Native GraphQL SDL with the API-version header, returned with --stdout --json.\"\n }\n },\n \"required\": [\n \"schema\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
4800
4935
|
"flags": {
|
|
4801
4936
|
"json-schema": {
|
|
4802
4937
|
"description": "Print the command's JSON schemas.",
|
|
@@ -4879,6 +5014,15 @@
|
|
|
4879
5014
|
"allowNo": false,
|
|
4880
5015
|
"type": "boolean"
|
|
4881
5016
|
},
|
|
5017
|
+
"json": {
|
|
5018
|
+
"char": "j",
|
|
5019
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
5020
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
5021
|
+
"hidden": false,
|
|
5022
|
+
"name": "json",
|
|
5023
|
+
"allowNo": false,
|
|
5024
|
+
"type": "boolean"
|
|
5025
|
+
},
|
|
4882
5026
|
"stdout": {
|
|
4883
5027
|
"description": "Output the schema to stdout instead of writing to a file.",
|
|
4884
5028
|
"env": "SHOPIFY_FLAG_STDOUT",
|
|
@@ -4902,7 +5046,7 @@
|
|
|
4902
5046
|
"app:function:typegen": {
|
|
4903
5047
|
"aliases": [],
|
|
4904
5048
|
"args": {},
|
|
4905
|
-
"description": "Creates GraphQL types based on your \"input query\" (https://shopify.dev/docs/apps/functions/input-output#input) for a function. Supports JavaScript functions out of the box, or any language via the `build.typegen_command` configuration.",
|
|
5049
|
+
"description": "Creates GraphQL types based on your \"input query\" (https://shopify.dev/docs/apps/functions/input-output#input) for a function. Supports JavaScript functions out of the box, or any language via the `build.typegen_command` configuration.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `FunctionTypegenResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"function\": {\n \"$ref\": \"#/definitions/Function\"\n }\n },\n \"required\": [\n \"status\",\n \"function\"\n ],\n \"additionalProperties\": false,\n \"title\": \"FunctionTypegenResult\",\n \"definitions\": {\n \"Function\": {\n \"type\": \"object\",\n \"properties\": {\n \"handle\": {\n \"type\": [\n \"string\",\n \"null\"\n ],\n \"description\": \"Null when the extension does not configure a handle.\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"directory\": {\n \"type\": \"string\",\n \"pattern\": \"^(?:\\\\/|[a-zA-Z]:[\\\\\\\\/]|\\\\\\\\\\\\\\\\)\",\n \"description\": \"An absolute native filesystem path.\"\n }\n },\n \"required\": [\n \"handle\",\n \"name\",\n \"directory\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
4906
5050
|
"flags": {
|
|
4907
5051
|
"json-schema": {
|
|
4908
5052
|
"description": "Print the command's JSON schemas.",
|
|
@@ -4984,6 +5128,15 @@
|
|
|
4984
5128
|
"name": "reset",
|
|
4985
5129
|
"allowNo": false,
|
|
4986
5130
|
"type": "boolean"
|
|
5131
|
+
},
|
|
5132
|
+
"json": {
|
|
5133
|
+
"char": "j",
|
|
5134
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
5135
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
5136
|
+
"hidden": false,
|
|
5137
|
+
"name": "json",
|
|
5138
|
+
"allowNo": false,
|
|
5139
|
+
"type": "boolean"
|
|
4987
5140
|
}
|
|
4988
5141
|
},
|
|
4989
5142
|
"hasDynamicHelp": false,
|
|
@@ -5000,7 +5153,7 @@
|
|
|
5000
5153
|
"app:generate:extension": {
|
|
5001
5154
|
"aliases": [],
|
|
5002
5155
|
"args": {},
|
|
5003
|
-
"description": "Generates a new \"app extension\" (https://shopify.dev/docs/apps/build/app-extensions). For a list of app extensions that you can generate using this command, refer to \"Supported extensions\" (https://shopify.dev/docs/apps/build/app-extensions/list-of-app-extensions).\n\n Each new app extension is created in a folder under `extensions/`. To learn more about the extensions file structure, refer to \"App structure\" (https://shopify.dev/docs/apps/build/cli-for-apps/app-structure) and the documentation for your extension.\n ",
|
|
5156
|
+
"description": "Generates a new \"app extension\" (https://shopify.dev/docs/apps/build/app-extensions). For a list of app extensions that you can generate using this command, refer to \"Supported extensions\" (https://shopify.dev/docs/apps/build/app-extensions/list-of-app-extensions).\n\n Each new app extension is created in a folder under `extensions/`. To learn more about the extensions file structure, refer to \"App structure\" (https://shopify.dev/docs/apps/build/cli-for-apps/app-structure) and the documentation for your extension.\n \n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `AppGenerateExtensionResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"extension\": {\n \"$ref\": \"#/definitions/GeneratedExtension\"\n }\n },\n \"required\": [\n \"status\",\n \"extension\"\n ],\n \"additionalProperties\": false,\n \"title\": \"AppGenerateExtensionResult\",\n \"definitions\": {\n \"GeneratedExtension\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"The name selected for the generated extension.\"\n },\n \"type\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"The extension type, such as function, theme, or ui_extension.\"\n },\n \"template\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"The identifier of the selected extension template.\"\n },\n \"flavor\": {\n \"type\": [\n \"string\",\n \"null\"\n ],\n \"description\": \"The selected template flavor, or null when the template has no flavors.\"\n },\n \"directory\": {\n \"type\": \"string\",\n \"description\": \"The absolute native filesystem path of the generated extension directory.\"\n }\n },\n \"required\": [\n \"name\",\n \"type\",\n \"template\",\n \"flavor\",\n \"directory\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
5004
5157
|
"flags": {
|
|
5005
5158
|
"json-schema": {
|
|
5006
5159
|
"description": "Print the command's JSON schemas.",
|
|
@@ -5082,6 +5235,15 @@
|
|
|
5082
5235
|
"allowNo": false,
|
|
5083
5236
|
"type": "boolean"
|
|
5084
5237
|
},
|
|
5238
|
+
"json": {
|
|
5239
|
+
"char": "j",
|
|
5240
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
5241
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
5242
|
+
"hidden": false,
|
|
5243
|
+
"name": "json",
|
|
5244
|
+
"allowNo": false,
|
|
5245
|
+
"type": "boolean"
|
|
5246
|
+
},
|
|
5085
5247
|
"template": {
|
|
5086
5248
|
"char": "t",
|
|
5087
5249
|
"description": "Extension template. Required if non interactive.",
|
|
@@ -5113,7 +5275,7 @@
|
|
|
5113
5275
|
"type": "option"
|
|
5114
5276
|
},
|
|
5115
5277
|
"flavor": {
|
|
5116
|
-
"description": "Choose a starting template for your extension, where applicable. Required if non interactive when the selected extension template supports multiple flavors.",
|
|
5278
|
+
"description": "Choose a starting template for your extension, where applicable. Supported flavors depend on the selected extension template. Required if non interactive when the selected extension template supports multiple flavors.",
|
|
5117
5279
|
"env": "SHOPIFY_FLAG_FLAVOR",
|
|
5118
5280
|
"hidden": false,
|
|
5119
5281
|
"name": "flavor",
|
|
@@ -5121,11 +5283,14 @@
|
|
|
5121
5283
|
"multiple": false,
|
|
5122
5284
|
"options": [
|
|
5123
5285
|
"vanilla-js",
|
|
5286
|
+
"preact",
|
|
5124
5287
|
"react",
|
|
5125
5288
|
"typescript",
|
|
5126
5289
|
"typescript-react",
|
|
5290
|
+
"rust",
|
|
5127
5291
|
"wasm",
|
|
5128
|
-
"
|
|
5292
|
+
"liquid",
|
|
5293
|
+
"config-only"
|
|
5129
5294
|
],
|
|
5130
5295
|
"type": "option"
|
|
5131
5296
|
}
|
|
@@ -5250,7 +5415,7 @@
|
|
|
5250
5415
|
"app:webhook:trigger": {
|
|
5251
5416
|
"aliases": [],
|
|
5252
5417
|
"args": {},
|
|
5253
|
-
"description": "\n Triggers the delivery of a sample Admin API event topic payload to a designated address.\n\n You should use this command to experiment with webhooks, to initially test your webhook configuration, or for unit testing. However, to test your webhook configuration from end to end, you should always trigger webhooks by performing the related action in Shopify.\n\n Because most webhook deliveries use remote endpoints, you can trigger the command from any directory where you can use Shopify CLI, and send the webhook to any of the supported endpoint types. For example, you can run the command from your app's local directory, but send the webhook to a staging environment endpoint.\n\n To learn more about using webhooks in a Shopify app, refer to \"Webhooks overview\" (https://shopify.dev/docs/apps/webhooks).\n\n ### Limitations\n\n - Webhooks triggered using this method always have the same payload, so they can't be used to test scenarios that differ based on the payload contents.\n - Webhooks triggered using this method aren't retried when they fail.\n - Trigger requests are rate-limited using the \"Partner API rate limit\" (https://shopify.dev/docs/api/partner#rate_limits).\n - You can't use this method to validate your API webhook subscriptions.\n ",
|
|
5418
|
+
"description": "\n Triggers the delivery of a sample Admin API event topic payload to a designated address.\n\n You should use this command to experiment with webhooks, to initially test your webhook configuration, or for unit testing. However, to test your webhook configuration from end to end, you should always trigger webhooks by performing the related action in Shopify.\n\n Because most webhook deliveries use remote endpoints, you can trigger the command from any directory where you can use Shopify CLI, and send the webhook to any of the supported endpoint types. For example, you can run the command from your app's local directory, but send the webhook to a staging environment endpoint.\n\n To learn more about using webhooks in a Shopify app, refer to \"Webhooks overview\" (https://shopify.dev/docs/apps/webhooks).\n\n ### Limitations\n\n - Webhooks triggered using this method always have the same payload, so they can't be used to test scenarios that differ based on the payload contents.\n - Webhooks triggered using this method aren't retried when they fail.\n - Trigger requests are rate-limited using the \"Partner API rate limit\" (https://shopify.dev/docs/api/partner#rate_limits).\n - You can't use this method to validate your API webhook subscriptions.\n \n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `AppWebhookTriggerResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"delivery\": {\n \"$ref\": \"#/definitions/AppWebhookDelivery\"\n }\n },\n \"required\": [\n \"status\",\n \"delivery\"\n ],\n \"additionalProperties\": false,\n \"title\": \"AppWebhookTriggerResult\",\n \"definitions\": {\n \"AppWebhookDelivery\": {\n \"type\": \"object\",\n \"properties\": {\n \"topic\": {\n \"type\": \"string\"\n },\n \"apiVersion\": {\n \"type\": \"string\"\n },\n \"deliveryMethod\": {\n \"type\": \"string\",\n \"enum\": [\n \"localhost\",\n \"http\",\n \"google-pub-sub\",\n \"event-bridge\"\n ]\n },\n \"address\": {\n \"type\": \"string\"\n },\n \"status\": {\n \"type\": \"string\",\n \"enum\": [\n \"delivered\",\n \"enqueued\"\n ],\n \"description\": \"Remote delivery is enqueued, not confirmed received.\"\n }\n },\n \"required\": [\n \"topic\",\n \"apiVersion\",\n \"deliveryMethod\",\n \"address\",\n \"status\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
5254
5419
|
"flags": {
|
|
5255
5420
|
"json-schema": {
|
|
5256
5421
|
"description": "Print the command's JSON schemas.",
|
|
@@ -5267,6 +5432,29 @@
|
|
|
5267
5432
|
"multiple": false,
|
|
5268
5433
|
"type": "option"
|
|
5269
5434
|
},
|
|
5435
|
+
"no-input": {
|
|
5436
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
5437
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
5438
|
+
"name": "no-input",
|
|
5439
|
+
"allowNo": false,
|
|
5440
|
+
"type": "boolean"
|
|
5441
|
+
},
|
|
5442
|
+
"no-color": {
|
|
5443
|
+
"description": "Disable color output.",
|
|
5444
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
5445
|
+
"hidden": false,
|
|
5446
|
+
"name": "no-color",
|
|
5447
|
+
"allowNo": false,
|
|
5448
|
+
"type": "boolean"
|
|
5449
|
+
},
|
|
5450
|
+
"verbose": {
|
|
5451
|
+
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
5452
|
+
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
5453
|
+
"hidden": false,
|
|
5454
|
+
"name": "verbose",
|
|
5455
|
+
"allowNo": false,
|
|
5456
|
+
"type": "boolean"
|
|
5457
|
+
},
|
|
5270
5458
|
"path": {
|
|
5271
5459
|
"description": "The path to your app directory.",
|
|
5272
5460
|
"env": "SHOPIFY_FLAG_PATH",
|
|
@@ -5309,6 +5497,15 @@
|
|
|
5309
5497
|
"allowNo": false,
|
|
5310
5498
|
"type": "boolean"
|
|
5311
5499
|
},
|
|
5500
|
+
"json": {
|
|
5501
|
+
"char": "j",
|
|
5502
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
5503
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
5504
|
+
"hidden": false,
|
|
5505
|
+
"name": "json",
|
|
5506
|
+
"allowNo": false,
|
|
5507
|
+
"type": "boolean"
|
|
5508
|
+
},
|
|
5312
5509
|
"help": {
|
|
5313
5510
|
"description": "This help. When you run the trigger command the CLI will prompt you for any information that isn't passed using flags.",
|
|
5314
5511
|
"env": "SHOPIFY_FLAG_HELP",
|
|
@@ -5555,7 +5752,7 @@
|
|
|
5555
5752
|
"required": false
|
|
5556
5753
|
}
|
|
5557
5754
|
},
|
|
5558
|
-
"description": "Clones a Git repository to your local machine to use as the starting point for building a theme.\n\n If no Git repository is specified, then this command creates a copy of Shopify's \"Skeleton theme\" (https://github.com/Shopify/skeleton-theme.git), with the specified name in the current folder. If no name is provided, then you're prompted to enter one.\n\n > Caution: If you're building a theme for the Shopify Theme Store, then you can use our example theme as a starting point. However, the theme that you submit needs to be \"substantively different from existing themes\" (https://shopify.dev/docs/themes/store/requirements#uniqueness) so that it provides added value for users.\n ",
|
|
5755
|
+
"description": "Clones a Git repository to your local machine to use as the starting point for building a theme.\n\n If no Git repository is specified, then this command creates a copy of Shopify's \"Skeleton theme\" (https://github.com/Shopify/skeleton-theme.git), with the specified name in the current folder. If no name is provided, then you're prompted to enter one.\n\n > Caution: If you're building a theme for the Shopify Theme Store, then you can use our example theme as a starting point. However, the theme that you submit needs to be \"substantively different from existing themes\" (https://shopify.dev/docs/themes/store/requirements#uniqueness) so that it provides added value for users.\n \n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `ThemeInitResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"enum\": [\n \"success\",\n \"partial\"\n ]\n },\n \"changed\": {\n \"type\": \"boolean\",\n \"const\": true\n },\n \"directory\": {\n \"$ref\": \"#/definitions/AbsolutePath\"\n },\n \"repoUrl\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"The source Git remote (including HTTPS, SSH, or SCP-style Git URLs).\"\n },\n \"latest\": {\n \"type\": \"boolean\"\n },\n \"aiInstructions\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"enum\": [\n \"all\",\n \"github\",\n \"cursor\",\n \"claude\"\n ]\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"instructionFilePaths\": {\n \"anyOf\": [\n {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/AbsolutePath\"\n }\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"Created instruction files, or null when setup failed before their completion could be established.\"\n },\n \"reason\": {\n \"type\": [\n \"string\",\n \"null\"\n ],\n \"description\": \"The reason for incomplete setup, or null when setup completed.\"\n }\n },\n \"required\": [\n \"status\",\n \"changed\",\n \"directory\",\n \"repoUrl\",\n \"latest\",\n \"aiInstructions\",\n \"instructionFilePaths\",\n \"reason\"\n ],\n \"additionalProperties\": false,\n \"title\": \"ThemeInitResult\",\n \"definitions\": {\n \"AbsolutePath\": {\n \"type\": \"string\",\n \"description\": \"An absolute native filesystem path.\"\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
5559
5756
|
"flags": {
|
|
5560
5757
|
"json-schema": {
|
|
5561
5758
|
"description": "Print the command's JSON schemas.",
|
|
@@ -5595,6 +5792,15 @@
|
|
|
5595
5792
|
"allowNo": false,
|
|
5596
5793
|
"type": "boolean"
|
|
5597
5794
|
},
|
|
5795
|
+
"json": {
|
|
5796
|
+
"char": "j",
|
|
5797
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
5798
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
5799
|
+
"hidden": false,
|
|
5800
|
+
"name": "json",
|
|
5801
|
+
"allowNo": false,
|
|
5802
|
+
"type": "boolean"
|
|
5803
|
+
},
|
|
5598
5804
|
"path": {
|
|
5599
5805
|
"description": "The path where you want to run the command. Defaults to the current working directory.",
|
|
5600
5806
|
"env": "SHOPIFY_FLAG_PATH",
|
|
@@ -5640,7 +5846,7 @@
|
|
|
5640
5846
|
"theme:check": {
|
|
5641
5847
|
"aliases": [],
|
|
5642
5848
|
"args": {},
|
|
5643
|
-
"description": "Calls and runs \"Theme Check\" (https://shopify.dev/docs/themes/tools/theme-check) to analyze your theme code for errors and to ensure that it follows theme and Liquid best practices. \"Learn more about the checks that Theme Check runs.\" (https://shopify.dev/docs/themes/tools/theme-check/checks)",
|
|
5849
|
+
"description": "Calls and runs \"Theme Check\" (https://shopify.dev/docs/themes/tools/theme-check) to analyze your theme code for errors and to ensure that it follows theme and Liquid best practices. \"Learn more about the checks that Theme Check runs.\" (https://shopify.dev/docs/themes/tools/theme-check/checks)\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `ThemeCheckResult` schema.\n\n```json\n{\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/0/properties/result\"\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"environments\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/ThemeEnvironment\"\n }\n }\n },\n \"required\": [\n \"environments\"\n ],\n \"additionalProperties\": false\n }\n ],\n \"title\": \"ThemeCheckResult\",\n \"definitions\": {\n \"ThemeCheckIssue\": {\n \"type\": \"object\",\n \"properties\": {\n \"filePath\": {\n \"type\": \"string\",\n \"description\": \"The absolute native path of the file.\"\n },\n \"check\": {\n \"type\": \"string\"\n },\n \"severity\": {\n \"type\": \"string\",\n \"enum\": [\n \"error\",\n \"warning\",\n \"info\"\n ]\n },\n \"startRow\": {\n \"type\": \"integer\",\n \"exclusiveMinimum\": 0,\n \"description\": \"The one-based starting line.\"\n },\n \"startColumn\": {\n \"type\": \"integer\",\n \"exclusiveMinimum\": 0,\n \"description\": \"The one-based starting column.\"\n },\n \"endRow\": {\n \"type\": \"integer\",\n \"exclusiveMinimum\": 0,\n \"description\": \"The one-based ending line.\"\n },\n \"endColumn\": {\n \"type\": \"integer\",\n \"exclusiveMinimum\": 0,\n \"description\": \"The one-based ending column.\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"filePath\",\n \"check\",\n \"severity\",\n \"startRow\",\n \"startColumn\",\n \"endRow\",\n \"endColumn\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n \"ThemeEnvironment\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"environment\": {\n \"type\": \"string\"\n },\n \"result\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"valid\": {\n \"type\": \"boolean\",\n \"description\": \"Whether the validation passes the selected blocking policy.\"\n },\n \"issues\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/ThemeCheckIssue\"\n }\n },\n \"errorCount\": {\n \"type\": \"integer\",\n \"minimum\": 0\n },\n \"warningCount\": {\n \"type\": \"integer\",\n \"minimum\": 0\n },\n \"infoCount\": {\n \"type\": \"integer\",\n \"minimum\": 0\n }\n },\n \"required\": [\n \"valid\",\n \"issues\",\n \"errorCount\",\n \"warningCount\",\n \"infoCount\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"cancelled\"\n }\n },\n \"required\": [\n \"status\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"required\": [\n \"environment\",\n \"result\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"environment\": {\n \"type\": \"string\"\n },\n \"error\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"abort\"\n },\n \"message\": {\n \"type\": \"string\"\n },\n \"code\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"A stable error code, included only when known.\"\n },\n \"tryMessage\": {\n \"type\": \"string\"\n },\n \"nextSteps\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"customSections\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"title\": {\n \"type\": \"string\"\n },\n \"body\": {\n \"anyOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n }\n ]\n }\n },\n \"required\": [\n \"body\"\n ],\n \"additionalProperties\": false\n }\n },\n \"details\": {\n \"description\": \"Selected domain details, preserving native API payloads such as GraphQL errors, extensions, and data.\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"bug\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/details\"\n },\n \"stack\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"external\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/details\"\n },\n \"command\": {\n \"type\": \"string\"\n },\n \"args\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": [\n \"type\",\n \"message\",\n \"command\",\n \"args\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"required\": [\n \"environment\",\n \"error\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
5644
5850
|
"flags": {
|
|
5645
5851
|
"json-schema": {
|
|
5646
5852
|
"description": "Print the command's JSON schemas.",
|
|
@@ -5680,6 +5886,21 @@
|
|
|
5680
5886
|
"allowNo": false,
|
|
5681
5887
|
"type": "boolean"
|
|
5682
5888
|
},
|
|
5889
|
+
"json": {
|
|
5890
|
+
"char": "j",
|
|
5891
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
5892
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
5893
|
+
"exclusive": [
|
|
5894
|
+
"init",
|
|
5895
|
+
"version",
|
|
5896
|
+
"print",
|
|
5897
|
+
"list"
|
|
5898
|
+
],
|
|
5899
|
+
"hidden": false,
|
|
5900
|
+
"name": "json",
|
|
5901
|
+
"allowNo": false,
|
|
5902
|
+
"type": "boolean"
|
|
5903
|
+
},
|
|
5683
5904
|
"path": {
|
|
5684
5905
|
"description": "The path where you want to run the command. Defaults to the current working directory.",
|
|
5685
5906
|
"env": "SHOPIFY_FLAG_PATH",
|
|
@@ -5700,7 +5921,7 @@
|
|
|
5700
5921
|
},
|
|
5701
5922
|
"config": {
|
|
5702
5923
|
"char": "C",
|
|
5703
|
-
"description": "
|
|
5924
|
+
"description": "Path to a config file to use, overriding .theme-check.yml if present\n Use --path to set the theme directory\n Supports all theme-check: config values, e.g., theme-check:theme-app-extension,\n theme-check:recommended, theme-check:all\n For backwards compatibility, :theme_app_extension is also supported ",
|
|
5704
5925
|
"env": "SHOPIFY_FLAG_CONFIG",
|
|
5705
5926
|
"name": "config",
|
|
5706
5927
|
"required": false,
|
|
@@ -5915,7 +6136,7 @@
|
|
|
5915
6136
|
"theme:delete": {
|
|
5916
6137
|
"aliases": [],
|
|
5917
6138
|
"args": {},
|
|
5918
|
-
"description": "Deletes a theme from your store.\n\n You can specify multiple themes by ID. If no theme is specified, then you're prompted to select the theme that you want to delete from the list of themes in your store.\n\n You're asked to confirm that you want to delete the specified themes before they are deleted. You can skip this confirmation using the `--force` flag.",
|
|
6139
|
+
"description": "Deletes a theme from your store.\n\n You can specify multiple themes by ID. If no theme is specified, then you're prompted to select the theme that you want to delete from the list of themes in your store.\n\n You're asked to confirm that you want to delete the specified themes before they are deleted. You can skip this confirmation using the `--force` flag.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `ThemeDeleteResult` schema.\n\n```json\n{\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/0/properties/result\"\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"environments\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/ThemeEnvironment\"\n }\n }\n },\n \"required\": [\n \"environments\"\n ],\n \"additionalProperties\": false\n }\n ],\n \"title\": \"ThemeDeleteResult\",\n \"definitions\": {\n \"Theme\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"string\",\n \"pattern\": \"^\\\\d+$\",\n \"description\": \"The decimal Online Store theme ID, not a Shopify GID.\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"role\": {\n \"type\": \"string\",\n \"description\": \"The upstream theme role; known values include live, unpublished, and development.\"\n },\n \"storeDomain\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"pattern\": \"^[a-z0-9][a-z0-9-]*\\\\.myshopify\\\\.com$\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"processing\": {\n \"type\": \"boolean\"\n },\n \"sourceUrl\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n {\n \"type\": \"null\"\n }\n ]\n }\n },\n \"required\": [\n \"id\",\n \"name\",\n \"role\",\n \"storeDomain\",\n \"processing\",\n \"sourceUrl\"\n ],\n \"additionalProperties\": false,\n \"description\": \"The selected theme projection; sourceUrl is null when the upstream source URL is unavailable.\"\n },\n \"ThemeEnvironment\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"environment\": {\n \"type\": \"string\"\n },\n \"result\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"enum\": [\n \"success\",\n \"partial\"\n ]\n },\n \"changed\": {\n \"type\": \"boolean\"\n },\n \"themes\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/Theme\"\n }\n },\n \"errors\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"themeId\": {\n \"type\": \"string\",\n \"pattern\": \"^\\\\d+$\"\n },\n \"error\": {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"abort\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n }\n },\n \"required\": [\n \"themeId\",\n \"error\"\n ],\n \"additionalProperties\": false\n }\n }\n },\n \"required\": [\n \"status\",\n \"changed\",\n \"themes\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"cancelled\"\n }\n },\n \"required\": [\n \"status\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"required\": [\n \"environment\",\n \"result\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"environment\": {\n \"type\": \"string\"\n },\n \"error\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"abort\"\n },\n \"message\": {\n \"type\": \"string\"\n },\n \"code\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"A stable error code, included only when known.\"\n },\n \"tryMessage\": {\n \"type\": \"string\"\n },\n \"nextSteps\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"customSections\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"title\": {\n \"type\": \"string\"\n },\n \"body\": {\n \"anyOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n }\n ]\n }\n },\n \"required\": [\n \"body\"\n ],\n \"additionalProperties\": false\n }\n },\n \"details\": {\n \"description\": \"Selected domain details, preserving native API payloads such as GraphQL errors, extensions, and data.\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"bug\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/details\"\n },\n \"stack\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"external\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/details\"\n },\n \"command\": {\n \"type\": \"string\"\n },\n \"args\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": [\n \"type\",\n \"message\",\n \"command\",\n \"args\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"required\": [\n \"environment\",\n \"error\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
5919
6140
|
"flags": {
|
|
5920
6141
|
"json-schema": {
|
|
5921
6142
|
"description": "Print the command's JSON schemas.",
|
|
@@ -5955,6 +6176,15 @@
|
|
|
5955
6176
|
"allowNo": false,
|
|
5956
6177
|
"type": "boolean"
|
|
5957
6178
|
},
|
|
6179
|
+
"json": {
|
|
6180
|
+
"char": "j",
|
|
6181
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
6182
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
6183
|
+
"hidden": false,
|
|
6184
|
+
"name": "json",
|
|
6185
|
+
"allowNo": false,
|
|
6186
|
+
"type": "boolean"
|
|
6187
|
+
},
|
|
5958
6188
|
"path": {
|
|
5959
6189
|
"description": "The path where you want to run the command. Defaults to the current working directory.",
|
|
5960
6190
|
"env": "SHOPIFY_FLAG_PATH",
|
|
@@ -6158,14 +6388,6 @@
|
|
|
6158
6388
|
],
|
|
6159
6389
|
"type": "option"
|
|
6160
6390
|
},
|
|
6161
|
-
"poll": {
|
|
6162
|
-
"description": "Force polling to detect file changes.",
|
|
6163
|
-
"env": "SHOPIFY_FLAG_POLL",
|
|
6164
|
-
"hidden": true,
|
|
6165
|
-
"name": "poll",
|
|
6166
|
-
"allowNo": false,
|
|
6167
|
-
"type": "boolean"
|
|
6168
|
-
},
|
|
6169
6391
|
"theme-editor-sync": {
|
|
6170
6392
|
"description": "Synchronize Theme Editor updates in the local theme files.",
|
|
6171
6393
|
"env": "SHOPIFY_FLAG_THEME_EDITOR_SYNC",
|
|
@@ -6304,7 +6526,7 @@
|
|
|
6304
6526
|
"theme:duplicate": {
|
|
6305
6527
|
"aliases": [],
|
|
6306
6528
|
"args": {},
|
|
6307
|
-
"description": "If you want to duplicate your local theme, you need to run `shopify theme push` first.\n\nIf no theme ID is specified, you're prompted to select the theme that you want to duplicate from the list of themes in your store. You're asked to confirm that you want to duplicate the specified theme.\n\nPrompts and confirmations are not shown when duplicate is run in a CI environment or the `--force` flag is used, therefore you must specify a theme ID using the `--theme` flag.\n\nYou can optionally name the duplicated theme using the `--name` flag.\n\nIf you use the `--json` flag, then theme information is returned in JSON format, which can be used as a machine-readable input for scripts or continuous integration.\n\nSample JSON output:\n\n```json\n{\n \"theme\": {\n \"id\": 108267175958,\n \"name\": \"A Duplicated Theme\",\n \"role\": \"unpublished\",\n \"shop\": \"mystore.myshopify.com\"\n }\n}\n```\n\n```json\n{\n \"message\": \"The theme 'Summer Edition' could not be duplicated due to errors\",\n \"errors\": [\"Maximum number of themes reached\"],\n \"requestId\": \"12345-abcde-67890\"\n}\n```",
|
|
6529
|
+
"description": "If you want to duplicate your local theme, you need to run `shopify theme push` first.\n\nIf no theme ID is specified, you're prompted to select the theme that you want to duplicate from the list of themes in your store. You're asked to confirm that you want to duplicate the specified theme.\n\nPrompts and confirmations are not shown when duplicate is run in a CI environment or the `--force` flag is used, therefore you must specify a theme ID using the `--theme` flag.\n\nYou can optionally name the duplicated theme using the `--name` flag.\n\nIf you use the `--json` flag, then theme information is returned in JSON format, which can be used as a machine-readable input for scripts or continuous integration.\n\nSuccessful JSON results include `status`, `changed`, and explicit `originalTheme` and `theme` resources with decimal string IDs. Failures use the shared `{error}` document.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `ThemeDuplicateResult` schema.\n\n```json\n{\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/0/properties/result\"\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"environments\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/ThemeEnvironment\"\n }\n }\n },\n \"required\": [\n \"environments\"\n ],\n \"additionalProperties\": false\n }\n ],\n \"title\": \"ThemeDuplicateResult\",\n \"definitions\": {\n \"Theme\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"string\",\n \"pattern\": \"^\\\\d+$\",\n \"description\": \"The decimal Online Store theme ID, not a Shopify GID.\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"role\": {\n \"type\": \"string\",\n \"description\": \"The upstream theme role; known values include live, unpublished, and development.\"\n }\n },\n \"required\": [\n \"id\",\n \"name\",\n \"role\"\n ],\n \"additionalProperties\": false\n },\n \"ThemeEnvironment\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"environment\": {\n \"type\": \"string\"\n },\n \"result\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"changed\": {\n \"type\": \"boolean\"\n },\n \"originalTheme\": {\n \"$ref\": \"#/definitions/Theme\"\n },\n \"theme\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"$ref\": \"#/definitions/Theme/properties/id\"\n },\n \"name\": {\n \"$ref\": \"#/definitions/Theme/properties/name\"\n },\n \"role\": {\n \"$ref\": \"#/definitions/Theme/properties/role\"\n },\n \"storeDomain\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"pattern\": \"^[a-z0-9][a-z0-9-]*\\\\.myshopify\\\\.com$\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"previewUrl\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n {\n \"type\": \"null\"\n }\n ]\n }\n },\n \"required\": [\n \"id\",\n \"name\",\n \"role\",\n \"storeDomain\",\n \"previewUrl\"\n ],\n \"additionalProperties\": false\n }\n },\n \"required\": [\n \"status\",\n \"changed\",\n \"originalTheme\",\n \"theme\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"cancelled\"\n }\n },\n \"required\": [\n \"status\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"required\": [\n \"environment\",\n \"result\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"environment\": {\n \"type\": \"string\"\n },\n \"error\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"abort\"\n },\n \"message\": {\n \"type\": \"string\"\n },\n \"code\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"A stable error code, included only when known.\"\n },\n \"tryMessage\": {\n \"type\": \"string\"\n },\n \"nextSteps\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"customSections\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"title\": {\n \"type\": \"string\"\n },\n \"body\": {\n \"anyOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n }\n ]\n }\n },\n \"required\": [\n \"body\"\n ],\n \"additionalProperties\": false\n }\n },\n \"details\": {\n \"description\": \"Selected domain details, preserving native API payloads such as GraphQL errors, extensions, and data.\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"bug\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/details\"\n },\n \"stack\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"external\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/details\"\n },\n \"command\": {\n \"type\": \"string\"\n },\n \"args\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": [\n \"type\",\n \"message\",\n \"command\",\n \"args\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"required\": [\n \"environment\",\n \"error\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
6308
6530
|
"flags": {
|
|
6309
6531
|
"json-schema": {
|
|
6310
6532
|
"description": "Print the command's JSON schemas.",
|
|
@@ -6419,13 +6641,18 @@
|
|
|
6419
6641
|
"theme duplicate --theme 10 --name 'New Theme'"
|
|
6420
6642
|
],
|
|
6421
6643
|
"enableJsonFlag": false,
|
|
6422
|
-
"descriptionWithMarkdown": "If you want to duplicate your local theme, you need to run `shopify theme push` first.\n\nIf no theme ID is specified, you're prompted to select the theme that you want to duplicate from the list of themes in your store. You're asked to confirm that you want to duplicate the specified theme.\n\nPrompts and confirmations are not shown when duplicate is run in a CI environment or the `--force` flag is used, therefore you must specify a theme ID using the `--theme` flag.\n\nYou can optionally name the duplicated theme using the `--name` flag.\n\nIf you use the `--json` flag, then theme information is returned in JSON format, which can be used as a machine-readable input for scripts or continuous integration.\n\
|
|
6644
|
+
"descriptionWithMarkdown": "If you want to duplicate your local theme, you need to run `shopify theme push` first.\n\nIf no theme ID is specified, you're prompted to select the theme that you want to duplicate from the list of themes in your store. You're asked to confirm that you want to duplicate the specified theme.\n\nPrompts and confirmations are not shown when duplicate is run in a CI environment or the `--force` flag is used, therefore you must specify a theme ID using the `--theme` flag.\n\nYou can optionally name the duplicated theme using the `--name` flag.\n\nIf you use the `--json` flag, then theme information is returned in JSON format, which can be used as a machine-readable input for scripts or continuous integration.\n\nSuccessful JSON results include `status`, `changed`, and explicit `originalTheme` and `theme` resources with decimal string IDs. Failures use the shared `{error}` document.",
|
|
6645
|
+
"multiEnvironmentsFlags": [
|
|
6646
|
+
"store",
|
|
6647
|
+
"password",
|
|
6648
|
+
"theme"
|
|
6649
|
+
],
|
|
6423
6650
|
"customPluginName": "@shopify/theme"
|
|
6424
6651
|
},
|
|
6425
6652
|
"theme:info": {
|
|
6426
6653
|
"aliases": [],
|
|
6427
6654
|
"args": {},
|
|
6428
|
-
"description": "Displays information about your theme environment, including your current store. Can also retrieve information about a specific theme.",
|
|
6655
|
+
"description": "Displays information about your theme environment, including your current store. Can also retrieve information about a specific theme.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `ThemeInfoResult` schema.\n\n```json\n{\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/0/properties/result\"\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"environments\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/ThemeEnvironment\"\n }\n }\n },\n \"required\": [\n \"environments\"\n ],\n \"additionalProperties\": false\n }\n ],\n \"title\": \"ThemeInfoResult\",\n \"definitions\": {\n \"Theme\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"string\",\n \"pattern\": \"^\\\\d+$\",\n \"description\": \"The decimal Online Store theme ID, not a Shopify GID.\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"role\": {\n \"type\": \"string\",\n \"description\": \"The upstream theme role; known values include live, unpublished, and development.\"\n },\n \"storeDomain\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"pattern\": \"^[a-z0-9][a-z0-9-]*\\\\.myshopify\\\\.com$\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"previewUrl\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"editorUrl\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n {\n \"type\": \"null\"\n }\n ]\n }\n },\n \"required\": [\n \"id\",\n \"name\",\n \"role\",\n \"storeDomain\",\n \"previewUrl\",\n \"editorUrl\"\n ],\n \"additionalProperties\": false\n },\n \"ThemeEnvironmentInfo\": {\n \"type\": \"object\",\n \"properties\": {\n \"storeDomain\": {\n \"$ref\": \"#/definitions/Theme/properties/storeDomain\"\n },\n \"developmentThemeId\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/Theme/properties/id\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The decimal Online Store theme ID, not a Shopify GID.\"\n },\n \"cliVersion\": {\n \"type\": \"string\"\n },\n \"os\": {\n \"type\": \"string\"\n },\n \"shell\": {\n \"type\": [\n \"string\",\n \"null\"\n ]\n },\n \"nodeVersion\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"storeDomain\",\n \"developmentThemeId\",\n \"cliVersion\",\n \"os\",\n \"shell\",\n \"nodeVersion\"\n ],\n \"additionalProperties\": false\n },\n \"ThemeEnvironment\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"environment\": {\n \"type\": \"string\"\n },\n \"result\": {\n \"anyOf\": [\n {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"theme\": {\n \"$ref\": \"#/definitions/Theme\"\n }\n },\n \"required\": [\n \"theme\"\n ],\n \"additionalProperties\": false\n },\n {\n \"$ref\": \"#/definitions/ThemeEnvironmentInfo\"\n }\n ]\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"cancelled\"\n }\n },\n \"required\": [\n \"status\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"required\": [\n \"environment\",\n \"result\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"environment\": {\n \"type\": \"string\"\n },\n \"error\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"abort\"\n },\n \"message\": {\n \"type\": \"string\"\n },\n \"code\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"A stable error code, included only when known.\"\n },\n \"tryMessage\": {\n \"type\": \"string\"\n },\n \"nextSteps\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"customSections\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"title\": {\n \"type\": \"string\"\n },\n \"body\": {\n \"anyOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n }\n ]\n }\n },\n \"required\": [\n \"body\"\n ],\n \"additionalProperties\": false\n }\n },\n \"details\": {\n \"description\": \"Selected domain details, preserving native API payloads such as GraphQL errors, extensions, and data.\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"bug\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/details\"\n },\n \"stack\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"external\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/details\"\n },\n \"command\": {\n \"type\": \"string\"\n },\n \"args\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": [\n \"type\",\n \"message\",\n \"command\",\n \"args\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"required\": [\n \"environment\",\n \"error\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
6429
6656
|
"flags": {
|
|
6430
6657
|
"json-schema": {
|
|
6431
6658
|
"description": "Print the command's JSON schemas.",
|
|
@@ -6535,6 +6762,7 @@
|
|
|
6535
6762
|
"pluginType": "core",
|
|
6536
6763
|
"strict": true,
|
|
6537
6764
|
"enableJsonFlag": false,
|
|
6765
|
+
"descriptionWithMarkdown": "Displays information about your theme environment, including your current store. Can also retrieve information about a specific theme.",
|
|
6538
6766
|
"multiEnvironmentsFlags": [
|
|
6539
6767
|
"store",
|
|
6540
6768
|
"password"
|
|
@@ -6601,7 +6829,7 @@
|
|
|
6601
6829
|
"theme:list": {
|
|
6602
6830
|
"aliases": [],
|
|
6603
6831
|
"args": {},
|
|
6604
|
-
"description": "Lists the themes in your store, along with their IDs and statuses.",
|
|
6832
|
+
"description": "Lists the themes in your store, along with their IDs and statuses.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `ThemeListResult` schema.\n\n```json\n{\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/0/properties/result\"\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"environments\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/ThemeEnvironment\"\n }\n }\n },\n \"required\": [\n \"environments\"\n ],\n \"additionalProperties\": false\n }\n ],\n \"title\": \"ThemeListResult\",\n \"definitions\": {\n \"Theme\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"string\",\n \"pattern\": \"^\\\\d+$\",\n \"description\": \"The decimal Online Store theme ID, not a Shopify GID.\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"role\": {\n \"type\": \"string\",\n \"description\": \"The upstream theme role; known values include live, unpublished, and development.\"\n }\n },\n \"required\": [\n \"id\",\n \"name\",\n \"role\"\n ],\n \"additionalProperties\": false\n },\n \"ThemeEnvironment\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"environment\": {\n \"type\": \"string\"\n },\n \"result\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"themes\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"$ref\": \"#/definitions/Theme/properties/id\"\n },\n \"name\": {\n \"$ref\": \"#/definitions/Theme/properties/name\"\n },\n \"role\": {\n \"$ref\": \"#/definitions/Theme/properties/role\"\n },\n \"processing\": {\n \"type\": \"boolean\"\n }\n },\n \"required\": [\n \"id\",\n \"name\",\n \"role\",\n \"processing\"\n ],\n \"additionalProperties\": false\n }\n }\n },\n \"required\": [\n \"themes\"\n ],\n \"additionalProperties\": false,\n \"description\": \"The complete theme library after applying the requested filters.\"\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"cancelled\"\n }\n },\n \"required\": [\n \"status\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"required\": [\n \"environment\",\n \"result\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"environment\": {\n \"type\": \"string\"\n },\n \"error\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"abort\"\n },\n \"message\": {\n \"type\": \"string\"\n },\n \"code\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"A stable error code, included only when known.\"\n },\n \"tryMessage\": {\n \"type\": \"string\"\n },\n \"nextSteps\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"customSections\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"title\": {\n \"type\": \"string\"\n },\n \"body\": {\n \"anyOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n }\n ]\n }\n },\n \"required\": [\n \"body\"\n ],\n \"additionalProperties\": false\n }\n },\n \"details\": {\n \"description\": \"Selected domain details, preserving native API payloads such as GraphQL errors, extensions, and data.\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"bug\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/details\"\n },\n \"stack\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"external\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/details\"\n },\n \"command\": {\n \"type\": \"string\"\n },\n \"args\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": [\n \"type\",\n \"message\",\n \"command\",\n \"args\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"required\": [\n \"environment\",\n \"error\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
6605
6833
|
"flags": {
|
|
6606
6834
|
"json-schema": {
|
|
6607
6835
|
"description": "Print the command's JSON schemas.",
|
|
@@ -6723,6 +6951,7 @@
|
|
|
6723
6951
|
"pluginType": "core",
|
|
6724
6952
|
"strict": true,
|
|
6725
6953
|
"enableJsonFlag": false,
|
|
6954
|
+
"descriptionWithMarkdown": "Lists the themes in your store, along with their IDs and statuses.",
|
|
6726
6955
|
"multiEnvironmentsFlags": [
|
|
6727
6956
|
"store",
|
|
6728
6957
|
"password"
|
|
@@ -6732,7 +6961,7 @@
|
|
|
6732
6961
|
"theme:metafields:pull": {
|
|
6733
6962
|
"aliases": [],
|
|
6734
6963
|
"args": {},
|
|
6735
|
-
"description": "Retrieves metafields from Shopify Admin.\n\nIf the metafields file already exists, it will be overwritten.",
|
|
6964
|
+
"description": "Retrieves metafields from Shopify Admin.\n\nIf the metafields file already exists, it will be overwritten.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `ThemeMetafieldsPullResult` schema.\n\n```json\n{\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/0/properties/result\"\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"environments\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/ThemeEnvironment\"\n }\n }\n },\n \"required\": [\n \"environments\"\n ],\n \"additionalProperties\": false\n }\n ],\n \"title\": \"ThemeMetafieldsPullResult\",\n \"definitions\": {\n \"MetafieldDefinition\": {\n \"type\": \"object\",\n \"properties\": {\n \"ownerType\": {\n \"type\": \"string\",\n \"description\": \"The upstream owner type, such as PRODUCT or COMPANY_LOCATION.\"\n },\n \"key\": {\n \"type\": \"string\"\n },\n \"namespace\": {\n \"type\": \"string\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"description\": {\n \"type\": [\n \"string\",\n \"null\"\n ]\n },\n \"type\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\",\n \"description\": \"The upstream metafield type, such as single_line_text_field.\"\n },\n \"category\": {\n \"type\": \"string\",\n \"description\": \"The upstream metafield category.\"\n }\n },\n \"required\": [\n \"name\",\n \"category\"\n ],\n \"additionalProperties\": false\n }\n },\n \"required\": [\n \"ownerType\",\n \"key\",\n \"namespace\",\n \"name\",\n \"description\",\n \"type\"\n ],\n \"additionalProperties\": false\n },\n \"ThemeEnvironment\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"environment\": {\n \"type\": \"string\"\n },\n \"result\": {\n \"anyOf\": [\n {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"enum\": [\n \"success\",\n \"partial\"\n ]\n },\n \"changed\": {\n \"type\": \"boolean\",\n \"const\": true\n },\n \"path\": {\n \"type\": \"string\",\n \"description\": \"The absolute path of the native language-server metafields JSON artifact.\"\n },\n \"definitions\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/MetafieldDefinition\"\n },\n \"description\": \"All fetched definitions, flattened across owner types.\"\n },\n \"failedOwnerTypes\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n },\n \"description\": \"Upstream owner types whose fetch failed.\"\n }\n },\n \"required\": [\n \"status\",\n \"changed\",\n \"path\",\n \"definitions\",\n \"failedOwnerTypes\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"skipped\"\n },\n \"reason\": {\n \"type\": \"string\",\n \"const\": \"not-a-theme\"\n }\n },\n \"required\": [\n \"status\",\n \"reason\"\n ],\n \"additionalProperties\": false\n }\n ]\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"cancelled\"\n }\n },\n \"required\": [\n \"status\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"required\": [\n \"environment\",\n \"result\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"environment\": {\n \"type\": \"string\"\n },\n \"error\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"abort\"\n },\n \"message\": {\n \"type\": \"string\"\n },\n \"code\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"A stable error code, included only when known.\"\n },\n \"tryMessage\": {\n \"type\": \"string\"\n },\n \"nextSteps\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"customSections\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"title\": {\n \"type\": \"string\"\n },\n \"body\": {\n \"anyOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n }\n ]\n }\n },\n \"required\": [\n \"body\"\n ],\n \"additionalProperties\": false\n }\n },\n \"details\": {\n \"description\": \"Selected domain details, preserving native API payloads such as GraphQL errors, extensions, and data.\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"bug\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/details\"\n },\n \"stack\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"external\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/details\"\n },\n \"command\": {\n \"type\": \"string\"\n },\n \"args\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": [\n \"type\",\n \"message\",\n \"command\",\n \"args\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"required\": [\n \"environment\",\n \"error\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
6736
6965
|
"flags": {
|
|
6737
6966
|
"json-schema": {
|
|
6738
6967
|
"description": "Print the command's JSON schemas.",
|
|
@@ -6772,6 +7001,15 @@
|
|
|
6772
7001
|
"allowNo": false,
|
|
6773
7002
|
"type": "boolean"
|
|
6774
7003
|
},
|
|
7004
|
+
"json": {
|
|
7005
|
+
"char": "j",
|
|
7006
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
7007
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
7008
|
+
"hidden": false,
|
|
7009
|
+
"name": "json",
|
|
7010
|
+
"allowNo": false,
|
|
7011
|
+
"type": "boolean"
|
|
7012
|
+
},
|
|
6775
7013
|
"path": {
|
|
6776
7014
|
"description": "The path where you want to run the command. Defaults to the current working directory.",
|
|
6777
7015
|
"env": "SHOPIFY_FLAG_PATH",
|
|
@@ -6833,7 +7071,7 @@
|
|
|
6833
7071
|
"theme:open": {
|
|
6834
7072
|
"aliases": [],
|
|
6835
7073
|
"args": {},
|
|
6836
|
-
"description": "Returns links that let you preview the specified theme. The following links are returned:\n\n - A link to the \"editor\" (https://shopify.dev/docs/themes/tools/online-editor) for the theme in the Shopify admin.\n - A \"preview link\" (https://help.shopify.com/manual/online-store/themes/adding-themes#share-a-theme-preview-with-others) that you can share with other developers.\n\n If you don't specify a theme, then you're prompted to select the theme to open from the list of the themes in your store.",
|
|
7074
|
+
"description": "Returns links that let you preview the specified theme. The following links are returned:\n\n - A link to the \"editor\" (https://shopify.dev/docs/themes/tools/online-editor) for the theme in the Shopify admin.\n - A \"preview link\" (https://help.shopify.com/manual/online-store/themes/adding-themes#share-a-theme-preview-with-others) that you can share with other developers.\n\n If you don't specify a theme, then you're prompted to select the theme to open from the list of the themes in your store.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `ThemeOpenResult` schema.\n\n```json\n{\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/0/properties/result\"\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"environments\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/ThemeEnvironment\"\n }\n }\n },\n \"required\": [\n \"environments\"\n ],\n \"additionalProperties\": false\n }\n ],\n \"title\": \"ThemeOpenResult\",\n \"definitions\": {\n \"Theme\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"string\",\n \"pattern\": \"^\\\\d+$\",\n \"description\": \"The decimal Online Store theme ID, not a Shopify GID.\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"role\": {\n \"type\": \"string\",\n \"description\": \"The upstream theme role; known values include live, unpublished, and development.\"\n }\n },\n \"required\": [\n \"id\",\n \"name\",\n \"role\"\n ],\n \"additionalProperties\": false\n },\n \"ThemeEnvironment\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"environment\": {\n \"type\": \"string\"\n },\n \"result\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"theme\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"$ref\": \"#/definitions/Theme/properties/id\"\n },\n \"name\": {\n \"$ref\": \"#/definitions/Theme/properties/name\"\n },\n \"role\": {\n \"$ref\": \"#/definitions/Theme/properties/role\"\n },\n \"storeDomain\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"pattern\": \"^[a-z0-9][a-z0-9-]*\\\\.myshopify\\\\.com$\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"previewUrl\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"editorUrl\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"processing\": {\n \"type\": \"boolean\"\n },\n \"sourceUrl\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n {\n \"type\": \"null\"\n }\n ]\n }\n },\n \"required\": [\n \"id\",\n \"name\",\n \"role\",\n \"storeDomain\",\n \"previewUrl\",\n \"editorUrl\",\n \"processing\",\n \"sourceUrl\"\n ],\n \"additionalProperties\": false\n }\n },\n \"required\": [\n \"theme\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"cancelled\"\n }\n },\n \"required\": [\n \"status\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"required\": [\n \"environment\",\n \"result\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"environment\": {\n \"type\": \"string\"\n },\n \"error\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"abort\"\n },\n \"message\": {\n \"type\": \"string\"\n },\n \"code\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"A stable error code, included only when known.\"\n },\n \"tryMessage\": {\n \"type\": \"string\"\n },\n \"nextSteps\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"customSections\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"title\": {\n \"type\": \"string\"\n },\n \"body\": {\n \"anyOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n }\n ]\n }\n },\n \"required\": [\n \"body\"\n ],\n \"additionalProperties\": false\n }\n },\n \"details\": {\n \"description\": \"Selected domain details, preserving native API payloads such as GraphQL errors, extensions, and data.\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"bug\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/details\"\n },\n \"stack\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"external\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/details\"\n },\n \"command\": {\n \"type\": \"string\"\n },\n \"args\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": [\n \"type\",\n \"message\",\n \"command\",\n \"args\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"required\": [\n \"environment\",\n \"error\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
6837
7075
|
"flags": {
|
|
6838
7076
|
"json-schema": {
|
|
6839
7077
|
"description": "Print the command's JSON schemas.",
|
|
@@ -6873,6 +7111,15 @@
|
|
|
6873
7111
|
"allowNo": false,
|
|
6874
7112
|
"type": "boolean"
|
|
6875
7113
|
},
|
|
7114
|
+
"json": {
|
|
7115
|
+
"char": "j",
|
|
7116
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
7117
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
7118
|
+
"hidden": false,
|
|
7119
|
+
"name": "json",
|
|
7120
|
+
"allowNo": false,
|
|
7121
|
+
"type": "boolean"
|
|
7122
|
+
},
|
|
6876
7123
|
"path": {
|
|
6877
7124
|
"description": "The path where you want to run the command. Defaults to the current working directory.",
|
|
6878
7125
|
"env": "SHOPIFY_FLAG_PATH",
|
|
@@ -6952,13 +7199,21 @@
|
|
|
6952
7199
|
"summary": "Opens the preview of your remote theme.",
|
|
6953
7200
|
"enableJsonFlag": false,
|
|
6954
7201
|
"descriptionWithMarkdown": "Returns links that let you preview the specified theme. The following links are returned:\n\n - A link to the [editor](https://shopify.dev/docs/themes/tools/online-editor) for the theme in the Shopify admin.\n - A [preview link](https://help.shopify.com/manual/online-store/themes/adding-themes#share-a-theme-preview-with-others) that you can share with other developers.\n\n If you don't specify a theme, then you're prompted to select the theme to open from the list of the themes in your store.",
|
|
6955
|
-
"multiEnvironmentsFlags":
|
|
7202
|
+
"multiEnvironmentsFlags": [
|
|
7203
|
+
"store",
|
|
7204
|
+
"password",
|
|
7205
|
+
[
|
|
7206
|
+
"theme",
|
|
7207
|
+
"live",
|
|
7208
|
+
"development"
|
|
7209
|
+
]
|
|
7210
|
+
],
|
|
6956
7211
|
"customPluginName": "@shopify/theme"
|
|
6957
7212
|
},
|
|
6958
7213
|
"theme:package": {
|
|
6959
7214
|
"aliases": [],
|
|
6960
7215
|
"args": {},
|
|
6961
|
-
"description": "Packages your local theme files into a ZIP file that can be uploaded to Shopify.\n\n Only folders that match the \"default Shopify theme folder structure\" (https://shopify.dev/docs/storefronts/themes/tools/cli#directory-structure) are included in the package.\n\n The package includes the `listings` directory if present (required for multi-preset themes per \"Theme Store requirements\" (https://shopify.dev/docs/storefronts/themes/store/requirements#adding-presets-to-your-theme-zip-submission)).\n\n The ZIP file uses the name `theme_name-theme_version.zip`, based on parameters in your \"settings_schema.json\" (https://shopify.dev/docs/storefronts/themes/architecture/config/settings-schema-json) file.",
|
|
7216
|
+
"description": "Packages your local theme files into a ZIP file that can be uploaded to Shopify.\n\n Only folders that match the \"default Shopify theme folder structure\" (https://shopify.dev/docs/storefronts/themes/tools/cli#directory-structure) are included in the package.\n\n The package includes the `listings` directory if present (required for multi-preset themes per \"Theme Store requirements\" (https://shopify.dev/docs/storefronts/themes/store/requirements#adding-presets-to-your-theme-zip-submission)).\n\n The ZIP file uses the name `theme_name-theme_version.zip`, based on parameters in your \"settings_schema.json\" (https://shopify.dev/docs/storefronts/themes/architecture/config/settings-schema-json) file.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `ThemePackageResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"path\": {\n \"type\": \"string\",\n \"description\": \"The absolute native path of the ZIP archive.\"\n }\n },\n \"required\": [\n \"path\"\n ],\n \"additionalProperties\": false,\n \"title\": \"ThemePackageResult\",\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
6962
7217
|
"flags": {
|
|
6963
7218
|
"json-schema": {
|
|
6964
7219
|
"description": "Print the command's JSON schemas.",
|
|
@@ -6998,6 +7253,15 @@
|
|
|
6998
7253
|
"allowNo": false,
|
|
6999
7254
|
"type": "boolean"
|
|
7000
7255
|
},
|
|
7256
|
+
"json": {
|
|
7257
|
+
"char": "j",
|
|
7258
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
7259
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
7260
|
+
"hidden": false,
|
|
7261
|
+
"name": "json",
|
|
7262
|
+
"allowNo": false,
|
|
7263
|
+
"type": "boolean"
|
|
7264
|
+
},
|
|
7001
7265
|
"path": {
|
|
7002
7266
|
"description": "The path where you want to run the command. Defaults to the current working directory.",
|
|
7003
7267
|
"env": "SHOPIFY_FLAG_PATH",
|
|
@@ -7024,7 +7288,7 @@
|
|
|
7024
7288
|
"theme:profile": {
|
|
7025
7289
|
"aliases": [],
|
|
7026
7290
|
"args": {},
|
|
7027
|
-
"description": "Profile the Shopify Liquid on a given page.\n\n This command will open a web page with the Speedscope profiler detailing the time spent executing Liquid on the given page.",
|
|
7291
|
+
"description": "Profile the Shopify Liquid on a given page.\n\n This command will open a web page with the Speedscope profiler detailing the time spent executing Liquid on the given page.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `ThemeProfileResult` schema.\n\n```json\n{\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/0/properties/result\"\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"environments\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/ThemeEnvironment\"\n }\n }\n },\n \"required\": [\n \"environments\"\n ],\n \"additionalProperties\": false\n }\n ],\n \"title\": \"ThemeProfileResult\",\n \"definitions\": {\n \"ProfileFrame\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"file\": {\n \"type\": \"string\"\n },\n \"line\": {\n \"type\": \"number\"\n },\n \"col\": {\n \"type\": \"number\"\n }\n },\n \"required\": [\n \"name\"\n ],\n \"additionalProperties\": true\n },\n \"ProfileEvent\": {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"enum\": [\n \"O\",\n \"C\"\n ]\n },\n \"at\": {\n \"type\": \"number\"\n },\n \"frame\": {\n \"type\": \"number\"\n }\n },\n \"required\": [\n \"type\",\n \"at\",\n \"frame\"\n ],\n \"additionalProperties\": true\n },\n \"ProfileShared\": {\n \"type\": \"object\",\n \"properties\": {\n \"frames\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/ProfileFrame\"\n }\n }\n },\n \"required\": [\n \"frames\"\n ],\n \"additionalProperties\": true\n },\n \"EventedProfile\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"unit\": {\n \"type\": \"string\",\n \"enum\": [\n \"bytes\",\n \"microseconds\",\n \"milliseconds\",\n \"nanoseconds\",\n \"none\",\n \"seconds\"\n ]\n },\n \"startValue\": {\n \"type\": \"number\"\n },\n \"endValue\": {\n \"type\": \"number\"\n },\n \"type\": {\n \"type\": \"string\",\n \"const\": \"evented\"\n },\n \"events\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/ProfileEvent\"\n }\n }\n },\n \"required\": [\n \"name\",\n \"unit\",\n \"startValue\",\n \"endValue\",\n \"type\",\n \"events\"\n ],\n \"additionalProperties\": true\n },\n \"SampledProfile\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"$ref\": \"#/definitions/EventedProfile/properties/name\"\n },\n \"unit\": {\n \"$ref\": \"#/definitions/EventedProfile/properties/unit\"\n },\n \"startValue\": {\n \"$ref\": \"#/definitions/EventedProfile/properties/startValue\"\n },\n \"endValue\": {\n \"$ref\": \"#/definitions/EventedProfile/properties/endValue\"\n },\n \"type\": {\n \"type\": \"string\",\n \"const\": \"sampled\"\n },\n \"samples\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"number\"\n }\n }\n },\n \"weights\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"number\"\n }\n }\n },\n \"required\": [\n \"name\",\n \"unit\",\n \"startValue\",\n \"endValue\",\n \"type\",\n \"samples\",\n \"weights\"\n ],\n \"additionalProperties\": true\n },\n \"ThemeEnvironment\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"environment\": {\n \"type\": \"string\"\n },\n \"result\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"$schema\": {\n \"type\": \"string\",\n \"const\": \"https://www.speedscope.app/file-format-schema.json\"\n },\n \"shared\": {\n \"$ref\": \"#/definitions/ProfileShared\"\n },\n \"profiles\": {\n \"type\": \"array\",\n \"items\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/EventedProfile\"\n },\n {\n \"$ref\": \"#/definitions/SampledProfile\"\n }\n ]\n }\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"exporter\": {\n \"type\": \"string\"\n },\n \"activeProfileIndex\": {\n \"type\": \"number\"\n }\n },\n \"required\": [\n \"$schema\",\n \"shared\",\n \"profiles\"\n ],\n \"additionalProperties\": true,\n \"description\": \"The native Speedscope file format, defined by its $schema URL. Original keys and extension fields are preserved.\"\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"cancelled\"\n }\n },\n \"required\": [\n \"status\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"required\": [\n \"environment\",\n \"result\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"environment\": {\n \"type\": \"string\"\n },\n \"error\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"abort\"\n },\n \"message\": {\n \"type\": \"string\"\n },\n \"code\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"A stable error code, included only when known.\"\n },\n \"tryMessage\": {\n \"type\": \"string\"\n },\n \"nextSteps\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"customSections\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"title\": {\n \"type\": \"string\"\n },\n \"body\": {\n \"anyOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n }\n ]\n }\n },\n \"required\": [\n \"body\"\n ],\n \"additionalProperties\": false\n }\n },\n \"details\": {\n \"description\": \"Selected domain details, preserving native API payloads such as GraphQL errors, extensions, and data.\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"bug\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/details\"\n },\n \"stack\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"external\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/details\"\n },\n \"command\": {\n \"type\": \"string\"\n },\n \"args\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": [\n \"type\",\n \"message\",\n \"command\",\n \"args\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"required\": [\n \"environment\",\n \"error\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
7028
7292
|
"flags": {
|
|
7029
7293
|
"json-schema": {
|
|
7030
7294
|
"description": "Print the command's JSON schemas.",
|
|
@@ -7109,7 +7373,7 @@
|
|
|
7109
7373
|
"type": "option"
|
|
7110
7374
|
},
|
|
7111
7375
|
"url": {
|
|
7112
|
-
"description": "The
|
|
7376
|
+
"description": "The path of the page to profile, with an optional query string. For a full URL, only the path and query string are used.",
|
|
7113
7377
|
"env": "SHOPIFY_FLAG_URL",
|
|
7114
7378
|
"name": "url",
|
|
7115
7379
|
"default": "/",
|
|
@@ -7155,7 +7419,7 @@
|
|
|
7155
7419
|
"theme:publish": {
|
|
7156
7420
|
"aliases": [],
|
|
7157
7421
|
"args": {},
|
|
7158
|
-
"description": "Publishes an unpublished theme from your theme library.\n\nIf no theme ID is specified, then you're prompted to select the theme that you want to publish from the list of themes in your store.\n\nYou can run this command only in a directory that matches the \"default Shopify theme folder structure\" (https://shopify.dev/docs/themes/tools/cli#directory-structure).\n\nIf you want to publish your local theme, then you need to run `shopify theme push` first. You're asked to confirm that you want to publish the specified theme. You can skip this confirmation using the `--force` flag.",
|
|
7422
|
+
"description": "Publishes an unpublished theme from your theme library.\n\nIf no theme ID is specified, then you're prompted to select the theme that you want to publish from the list of themes in your store.\n\nYou can run this command only in a directory that matches the \"default Shopify theme folder structure\" (https://shopify.dev/docs/themes/tools/cli#directory-structure).\n\nIf you want to publish your local theme, then you need to run `shopify theme push` first. You're asked to confirm that you want to publish the specified theme. You can skip this confirmation using the `--force` flag.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `ThemePublishResult` schema.\n\n```json\n{\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/0/properties/result\"\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"environments\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/ThemeEnvironment\"\n }\n }\n },\n \"required\": [\n \"environments\"\n ],\n \"additionalProperties\": false\n }\n ],\n \"title\": \"ThemePublishResult\",\n \"definitions\": {\n \"Theme\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"string\",\n \"pattern\": \"^\\\\d+$\",\n \"description\": \"The decimal Online Store theme ID, not a Shopify GID.\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"role\": {\n \"type\": \"string\",\n \"description\": \"The upstream theme role; known values include live, unpublished, and development.\"\n },\n \"storeDomain\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"pattern\": \"^[a-z0-9][a-z0-9-]*\\\\.myshopify\\\\.com$\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"processing\": {\n \"type\": \"boolean\"\n },\n \"sourceUrl\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n {\n \"type\": \"null\"\n }\n ]\n }\n },\n \"required\": [\n \"id\",\n \"name\",\n \"role\",\n \"storeDomain\",\n \"processing\",\n \"sourceUrl\"\n ],\n \"additionalProperties\": false,\n \"description\": \"The selected theme projection; sourceUrl is null when the upstream source URL is unavailable.\"\n },\n \"ThemeEnvironment\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"environment\": {\n \"type\": \"string\"\n },\n \"result\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"changed\": {\n \"type\": \"boolean\"\n },\n \"theme\": {\n \"$ref\": \"#/definitions/Theme\"\n }\n },\n \"required\": [\n \"status\",\n \"changed\",\n \"theme\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"cancelled\"\n }\n },\n \"required\": [\n \"status\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"required\": [\n \"environment\",\n \"result\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"environment\": {\n \"type\": \"string\"\n },\n \"error\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"abort\"\n },\n \"message\": {\n \"type\": \"string\"\n },\n \"code\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"A stable error code, included only when known.\"\n },\n \"tryMessage\": {\n \"type\": \"string\"\n },\n \"nextSteps\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"customSections\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"title\": {\n \"type\": \"string\"\n },\n \"body\": {\n \"anyOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n }\n ]\n }\n },\n \"required\": [\n \"body\"\n ],\n \"additionalProperties\": false\n }\n },\n \"details\": {\n \"description\": \"Selected domain details, preserving native API payloads such as GraphQL errors, extensions, and data.\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"bug\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/details\"\n },\n \"stack\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"external\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/details\"\n },\n \"command\": {\n \"type\": \"string\"\n },\n \"args\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": [\n \"type\",\n \"message\",\n \"command\",\n \"args\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"required\": [\n \"environment\",\n \"error\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
7159
7423
|
"flags": {
|
|
7160
7424
|
"json-schema": {
|
|
7161
7425
|
"description": "Print the command's JSON schemas.",
|
|
@@ -7195,6 +7459,15 @@
|
|
|
7195
7459
|
"allowNo": false,
|
|
7196
7460
|
"type": "boolean"
|
|
7197
7461
|
},
|
|
7462
|
+
"json": {
|
|
7463
|
+
"char": "j",
|
|
7464
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
7465
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
7466
|
+
"hidden": false,
|
|
7467
|
+
"name": "json",
|
|
7468
|
+
"allowNo": false,
|
|
7469
|
+
"type": "boolean"
|
|
7470
|
+
},
|
|
7198
7471
|
"path": {
|
|
7199
7472
|
"description": "The path where you want to run the command. Defaults to the current working directory.",
|
|
7200
7473
|
"env": "SHOPIFY_FLAG_PATH",
|
|
@@ -7268,7 +7541,7 @@
|
|
|
7268
7541
|
"theme:preview": {
|
|
7269
7542
|
"aliases": [],
|
|
7270
7543
|
"args": {},
|
|
7271
|
-
"description": "Applies a JSON overrides file to a theme and creates or updates a preview. This lets you quickly preview changes.\n\n The command returns a preview URL and a preview identifier. You can reuse the preview identifier with `--preview-id` to update an existing preview instead of creating a new one.",
|
|
7544
|
+
"description": "Applies a JSON overrides file to a theme and creates or updates a preview. This lets you quickly preview changes.\n\n The command returns a preview URL and a preview identifier. You can reuse the preview identifier with `--preview-id` to update an existing preview instead of creating a new one.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `ThemePreviewResult` schema.\n\n```json\n{\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/0/properties/result\"\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"environments\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/ThemeEnvironment\"\n }\n }\n },\n \"required\": [\n \"environments\"\n ],\n \"additionalProperties\": false\n }\n ],\n \"title\": \"ThemePreviewResult\",\n \"definitions\": {\n \"ThemePreview\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"The opaque Storefront preview identifier, not a theme ID or Shopify GID.\"\n },\n \"url\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n }\n },\n \"required\": [\n \"id\",\n \"url\"\n ],\n \"additionalProperties\": false\n },\n \"ThemeEnvironment\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"environment\": {\n \"type\": \"string\"\n },\n \"result\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"preview\": {\n \"$ref\": \"#/definitions/ThemePreview\"\n }\n },\n \"required\": [\n \"status\",\n \"preview\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"cancelled\"\n }\n },\n \"required\": [\n \"status\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"required\": [\n \"environment\",\n \"result\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"environment\": {\n \"type\": \"string\"\n },\n \"error\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"abort\"\n },\n \"message\": {\n \"type\": \"string\"\n },\n \"code\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"A stable error code, included only when known.\"\n },\n \"tryMessage\": {\n \"type\": \"string\"\n },\n \"nextSteps\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"customSections\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"title\": {\n \"type\": \"string\"\n },\n \"body\": {\n \"anyOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n }\n ]\n }\n },\n \"required\": [\n \"body\"\n ],\n \"additionalProperties\": false\n }\n },\n \"details\": {\n \"description\": \"Selected domain details, preserving native API payloads such as GraphQL errors, extensions, and data.\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"bug\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/details\"\n },\n \"stack\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"external\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/details\"\n },\n \"command\": {\n \"type\": \"string\"\n },\n \"args\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": [\n \"type\",\n \"message\",\n \"command\",\n \"args\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"required\": [\n \"environment\",\n \"error\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
7272
7545
|
"flags": {
|
|
7273
7546
|
"json-schema": {
|
|
7274
7547
|
"description": "Print the command's JSON schemas.",
|
|
@@ -7308,6 +7581,15 @@
|
|
|
7308
7581
|
"allowNo": false,
|
|
7309
7582
|
"type": "boolean"
|
|
7310
7583
|
},
|
|
7584
|
+
"json": {
|
|
7585
|
+
"char": "j",
|
|
7586
|
+
"description": "Output the preview URL and identifier as JSON.",
|
|
7587
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
7588
|
+
"hidden": false,
|
|
7589
|
+
"name": "json",
|
|
7590
|
+
"allowNo": false,
|
|
7591
|
+
"type": "boolean"
|
|
7592
|
+
},
|
|
7311
7593
|
"path": {
|
|
7312
7594
|
"description": "The path where you want to run the command. Defaults to the current working directory.",
|
|
7313
7595
|
"env": "SHOPIFY_FLAG_PATH",
|
|
@@ -7348,7 +7630,6 @@
|
|
|
7348
7630
|
"description": "Theme ID or name of the remote theme.",
|
|
7349
7631
|
"env": "SHOPIFY_FLAG_THEME_ID",
|
|
7350
7632
|
"name": "theme",
|
|
7351
|
-
"required": true,
|
|
7352
7633
|
"hasDynamicHelp": false,
|
|
7353
7634
|
"multiple": false,
|
|
7354
7635
|
"type": "option"
|
|
@@ -7357,7 +7638,6 @@
|
|
|
7357
7638
|
"description": "Path to a JSON overrides file.",
|
|
7358
7639
|
"env": "SHOPIFY_FLAG_OVERRIDES",
|
|
7359
7640
|
"name": "overrides",
|
|
7360
|
-
"required": true,
|
|
7361
7641
|
"hasDynamicHelp": false,
|
|
7362
7642
|
"multiple": false,
|
|
7363
7643
|
"type": "option"
|
|
@@ -7376,13 +7656,6 @@
|
|
|
7376
7656
|
"name": "open",
|
|
7377
7657
|
"allowNo": false,
|
|
7378
7658
|
"type": "boolean"
|
|
7379
|
-
},
|
|
7380
|
-
"json": {
|
|
7381
|
-
"description": "Output the preview URL and identifier as JSON.",
|
|
7382
|
-
"env": "SHOPIFY_FLAG_JSON",
|
|
7383
|
-
"name": "json",
|
|
7384
|
-
"allowNo": false,
|
|
7385
|
-
"type": "boolean"
|
|
7386
7659
|
}
|
|
7387
7660
|
},
|
|
7388
7661
|
"hasDynamicHelp": false,
|
|
@@ -7395,13 +7668,18 @@
|
|
|
7395
7668
|
"summary": "Applies JSON overrides to a theme and returns a preview URL.",
|
|
7396
7669
|
"enableJsonFlag": false,
|
|
7397
7670
|
"descriptionWithMarkdown": "Applies a JSON overrides file to a theme and creates or updates a preview. This lets you quickly preview changes.\n\n The command returns a preview URL and a preview identifier. You can reuse the preview identifier with `--preview-id` to update an existing preview instead of creating a new one.",
|
|
7398
|
-
"multiEnvironmentsFlags":
|
|
7671
|
+
"multiEnvironmentsFlags": [
|
|
7672
|
+
"store",
|
|
7673
|
+
"password",
|
|
7674
|
+
"theme",
|
|
7675
|
+
"overrides"
|
|
7676
|
+
],
|
|
7399
7677
|
"customPluginName": "@shopify/theme"
|
|
7400
7678
|
},
|
|
7401
7679
|
"theme:pull": {
|
|
7402
7680
|
"aliases": [],
|
|
7403
7681
|
"args": {},
|
|
7404
|
-
"description": "Retrieves theme files from Shopify.\n\nIf no theme is specified, then you're prompted to select the theme to pull from the list of the themes in your store.",
|
|
7682
|
+
"description": "Retrieves theme files from Shopify.\n\nIf no theme is specified, then you're prompted to select the theme to pull from the list of the themes in your store.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `ThemePullResult` schema.\n\n```json\n{\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/0/properties/result\"\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"environments\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/ThemeEnvironment\"\n }\n }\n },\n \"required\": [\n \"environments\"\n ],\n \"additionalProperties\": false\n }\n ],\n \"title\": \"ThemePullResult\",\n \"definitions\": {\n \"ThemePullTheme\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"string\",\n \"pattern\": \"^\\\\d+$\",\n \"description\": \"The decimal Online Store theme ID, not a Shopify GID.\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"role\": {\n \"type\": \"string\",\n \"description\": \"The upstream theme role; known values include live, unpublished, and development.\"\n },\n \"storeDomain\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"pattern\": \"^[a-z0-9][a-z0-9-]*\\\\.myshopify\\\\.com$\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"previewUrl\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"editorUrl\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"processing\": {\n \"type\": \"boolean\"\n },\n \"sourceUrl\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n {\n \"type\": \"null\"\n }\n ]\n }\n },\n \"required\": [\n \"id\",\n \"name\",\n \"role\",\n \"storeDomain\",\n \"previewUrl\",\n \"editorUrl\",\n \"processing\",\n \"sourceUrl\"\n ],\n \"additionalProperties\": false\n },\n \"ThemeEnvironment\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"environment\": {\n \"type\": \"string\"\n },\n \"result\": {\n \"anyOf\": [\n {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"changed\": {\n \"type\": \"boolean\"\n },\n \"directory\": {\n \"type\": \"string\"\n },\n \"theme\": {\n \"$ref\": \"#/definitions/ThemePullTheme\"\n }\n },\n \"required\": [\n \"status\",\n \"changed\",\n \"directory\",\n \"theme\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"skipped\"\n },\n \"reason\": {\n \"type\": \"string\",\n \"const\": \"unsafe-directory\"\n }\n },\n \"required\": [\n \"status\",\n \"reason\"\n ],\n \"additionalProperties\": false\n }\n ]\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"cancelled\"\n }\n },\n \"required\": [\n \"status\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"required\": [\n \"environment\",\n \"result\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"environment\": {\n \"type\": \"string\"\n },\n \"error\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"abort\"\n },\n \"message\": {\n \"type\": \"string\"\n },\n \"code\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"A stable error code, included only when known.\"\n },\n \"tryMessage\": {\n \"type\": \"string\"\n },\n \"nextSteps\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"customSections\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"title\": {\n \"type\": \"string\"\n },\n \"body\": {\n \"anyOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n }\n ]\n }\n },\n \"required\": [\n \"body\"\n ],\n \"additionalProperties\": false\n }\n },\n \"details\": {\n \"description\": \"Selected domain details, preserving native API payloads such as GraphQL errors, extensions, and data.\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"bug\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/details\"\n },\n \"stack\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"external\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/details\"\n },\n \"command\": {\n \"type\": \"string\"\n },\n \"args\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": [\n \"type\",\n \"message\",\n \"command\",\n \"args\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"required\": [\n \"environment\",\n \"error\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
7405
7683
|
"flags": {
|
|
7406
7684
|
"json-schema": {
|
|
7407
7685
|
"description": "Print the command's JSON schemas.",
|
|
@@ -7441,6 +7719,15 @@
|
|
|
7441
7719
|
"allowNo": false,
|
|
7442
7720
|
"type": "boolean"
|
|
7443
7721
|
},
|
|
7722
|
+
"json": {
|
|
7723
|
+
"char": "j",
|
|
7724
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
7725
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
7726
|
+
"hidden": false,
|
|
7727
|
+
"name": "json",
|
|
7728
|
+
"allowNo": false,
|
|
7729
|
+
"type": "boolean"
|
|
7730
|
+
},
|
|
7444
7731
|
"path": {
|
|
7445
7732
|
"description": "The path where you want to run the command. Defaults to the current working directory.",
|
|
7446
7733
|
"env": "SHOPIFY_FLAG_PATH",
|
|
@@ -7562,7 +7849,7 @@
|
|
|
7562
7849
|
"theme:push": {
|
|
7563
7850
|
"aliases": [],
|
|
7564
7851
|
"args": {},
|
|
7565
|
-
"description": "Uploads your local theme files to Shopify, overwriting the remote version if specified.\n\n If no theme is specified, then you're prompted to select the theme to overwrite from the list of the themes in your store.\n\n You can run this command only in a directory that matches the \"default Shopify theme folder structure\" (https://shopify.dev/docs/themes/tools/cli#directory-structure).\n\n This command returns the following information:\n\n - A link to the \"editor\" (https://shopify.dev/docs/themes/tools/online-editor) for the theme in the Shopify admin.\n - A \"preview link\" (https://help.shopify.com/manual/online-store/themes/adding-themes#share-a-theme-preview-with-others) that you can share with others.\n\n If you use the `--json` flag, then theme information is returned in JSON format, which can be used as a machine-readable input for scripts or continuous integration.\n\n Sample output:\n\n ```json\n {\n \"theme\": {\n \"id\": 108267175958,\n \"name\": \"MyTheme\",\n \"role\": \"unpublished\",\n \"shop\": \"mystore.myshopify.com\",\n \"editor_url\": \"https://mystore.myshopify.com/admin/themes/108267175958/editor\",\n \"preview_url\": \"https://mystore.myshopify.com/?preview_theme_id=108267175958\"\n }\n }\n ```\n ",
|
|
7852
|
+
"description": "Uploads your local theme files to Shopify, overwriting the remote version if specified.\n\n If no theme is specified, then you're prompted to select the theme to overwrite from the list of the themes in your store.\n\n You can run this command only in a directory that matches the \"default Shopify theme folder structure\" (https://shopify.dev/docs/themes/tools/cli#directory-structure).\n\n This command returns the following information:\n\n - A link to the \"editor\" (https://shopify.dev/docs/themes/tools/online-editor) for the theme in the Shopify admin.\n - A \"preview link\" (https://help.shopify.com/manual/online-store/themes/adding-themes#share-a-theme-preview-with-others) that you can share with others.\n\n If you use the `--json` flag, then theme information is returned in JSON format, which can be used as a machine-readable input for scripts or continuous integration.\n\n Sample output:\n\n ```json\n {\n \"status\": \"success\",\n \"changed\": true,\n \"issues\": [],\n \"theme\": {\n \"id\": \"108267175958\",\n \"name\": \"MyTheme\",\n \"role\": \"unpublished\",\n \"storeDomain\": \"mystore.myshopify.com\",\n \"editorUrl\": \"https://mystore.myshopify.com/admin/themes/108267175958/editor\",\n \"previewUrl\": \"https://mystore.myshopify.com/?preview_theme_id=108267175958\"\n }\n }\n ```\n \n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `ThemePushJsonResult` schema.\n\n```json\n{\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/0/properties/result\"\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"environments\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/ThemeEnvironment\"\n }\n }\n },\n \"required\": [\n \"environments\"\n ],\n \"additionalProperties\": false\n }\n ],\n \"title\": \"ThemePushJsonResult\",\n \"definitions\": {\n \"ThemePushTheme\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"string\",\n \"pattern\": \"^\\\\d+$\",\n \"description\": \"The decimal Online Store theme ID, not a Shopify GID.\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"role\": {\n \"type\": \"string\",\n \"description\": \"The upstream theme role; known values include live, unpublished, and development.\"\n },\n \"storeDomain\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"pattern\": \"^[a-z0-9][a-z0-9-]*\\\\.myshopify\\\\.com$\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"previewUrl\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"editorUrl\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n {\n \"type\": \"null\"\n }\n ]\n }\n },\n \"required\": [\n \"id\",\n \"name\",\n \"role\",\n \"storeDomain\",\n \"previewUrl\",\n \"editorUrl\"\n ],\n \"additionalProperties\": false\n },\n \"ThemeEnvironment\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"environment\": {\n \"type\": \"string\"\n },\n \"result\": {\n \"anyOf\": [\n {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"enum\": [\n \"success\",\n \"partial\"\n ]\n },\n \"changed\": {\n \"type\": \"boolean\"\n },\n \"theme\": {\n \"$ref\": \"#/definitions/ThemePushTheme\"\n },\n \"issues\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"filePath\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"filePath\",\n \"message\"\n ],\n \"additionalProperties\": false\n }\n }\n },\n \"required\": [\n \"status\",\n \"changed\",\n \"theme\",\n \"issues\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"skipped\"\n },\n \"reason\": {\n \"type\": \"string\",\n \"const\": \"unsafe-directory\"\n }\n },\n \"required\": [\n \"status\",\n \"reason\"\n ],\n \"additionalProperties\": false\n }\n ]\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"cancelled\"\n }\n },\n \"required\": [\n \"status\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"required\": [\n \"environment\",\n \"result\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"environment\": {\n \"type\": \"string\"\n },\n \"error\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"abort\"\n },\n \"message\": {\n \"type\": \"string\"\n },\n \"code\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"A stable error code, included only when known.\"\n },\n \"tryMessage\": {\n \"type\": \"string\"\n },\n \"nextSteps\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"customSections\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"title\": {\n \"type\": \"string\"\n },\n \"body\": {\n \"anyOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n }\n ]\n }\n },\n \"required\": [\n \"body\"\n ],\n \"additionalProperties\": false\n }\n },\n \"details\": {\n \"description\": \"Selected domain details, preserving native API payloads such as GraphQL errors, extensions, and data.\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"bug\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/details\"\n },\n \"stack\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"external\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/details\"\n },\n \"command\": {\n \"type\": \"string\"\n },\n \"args\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": [\n \"type\",\n \"message\",\n \"command\",\n \"args\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"required\": [\n \"environment\",\n \"error\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
7566
7853
|
"flags": {
|
|
7567
7854
|
"json-schema": {
|
|
7568
7855
|
"description": "Print the command's JSON schemas.",
|
|
@@ -7774,7 +8061,7 @@
|
|
|
7774
8061
|
"theme push --unpublished --json"
|
|
7775
8062
|
],
|
|
7776
8063
|
"enableJsonFlag": false,
|
|
7777
|
-
"descriptionWithMarkdown": "Uploads your local theme files to Shopify, overwriting the remote version if specified.\n\n If no theme is specified, then you're prompted to select the theme to overwrite from the list of the themes in your store.\n\n You can run this command only in a directory that matches the [default Shopify theme folder structure](https://shopify.dev/docs/themes/tools/cli#directory-structure).\n\n This command returns the following information:\n\n - A link to the [editor](https://shopify.dev/docs/themes/tools/online-editor) for the theme in the Shopify admin.\n - A [preview link](https://help.shopify.com/manual/online-store/themes/adding-themes#share-a-theme-preview-with-others) that you can share with others.\n\n If you use the `--json` flag, then theme information is returned in JSON format, which can be used as a machine-readable input for scripts or continuous integration.\n\n Sample output:\n\n ```json\n {\n \"theme\": {\n \"id\": 108267175958,\n \"name\": \"MyTheme\",\n \"role\": \"unpublished\",\n \"
|
|
8064
|
+
"descriptionWithMarkdown": "Uploads your local theme files to Shopify, overwriting the remote version if specified.\n\n If no theme is specified, then you're prompted to select the theme to overwrite from the list of the themes in your store.\n\n You can run this command only in a directory that matches the [default Shopify theme folder structure](https://shopify.dev/docs/themes/tools/cli#directory-structure).\n\n This command returns the following information:\n\n - A link to the [editor](https://shopify.dev/docs/themes/tools/online-editor) for the theme in the Shopify admin.\n - A [preview link](https://help.shopify.com/manual/online-store/themes/adding-themes#share-a-theme-preview-with-others) that you can share with others.\n\n If you use the `--json` flag, then theme information is returned in JSON format, which can be used as a machine-readable input for scripts or continuous integration.\n\n Sample output:\n\n ```json\n {\n \"status\": \"success\",\n \"changed\": true,\n \"issues\": [],\n \"theme\": {\n \"id\": \"108267175958\",\n \"name\": \"MyTheme\",\n \"role\": \"unpublished\",\n \"storeDomain\": \"mystore.myshopify.com\",\n \"editorUrl\": \"https://mystore.myshopify.com/admin/themes/108267175958/editor\",\n \"previewUrl\": \"https://mystore.myshopify.com/?preview_theme_id=108267175958\"\n }\n }\n ```\n ",
|
|
7778
8065
|
"multiEnvironmentsFlags": [
|
|
7779
8066
|
"store",
|
|
7780
8067
|
"password",
|
|
@@ -7790,7 +8077,7 @@
|
|
|
7790
8077
|
"theme:rename": {
|
|
7791
8078
|
"aliases": [],
|
|
7792
8079
|
"args": {},
|
|
7793
|
-
"description": "Renames a theme in your store.\n\n If no theme is specified, then you're prompted to select the theme that you want to rename from the list of themes in your store.\n ",
|
|
8080
|
+
"description": "Renames a theme in your store.\n\n If no theme is specified, then you're prompted to select the theme that you want to rename from the list of themes in your store.\n \n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `ThemeRenameResult` schema.\n\n```json\n{\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/0/properties/result\"\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"environments\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/ThemeEnvironment\"\n }\n }\n },\n \"required\": [\n \"environments\"\n ],\n \"additionalProperties\": false\n }\n ],\n \"title\": \"ThemeRenameResult\",\n \"definitions\": {\n \"Theme\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"string\",\n \"pattern\": \"^\\\\d+$\",\n \"description\": \"The decimal Online Store theme ID, not a Shopify GID.\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"role\": {\n \"type\": \"string\",\n \"description\": \"The upstream theme role; known values include live, unpublished, and development.\"\n },\n \"storeDomain\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"pattern\": \"^[a-z0-9][a-z0-9-]*\\\\.myshopify\\\\.com$\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"processing\": {\n \"type\": \"boolean\"\n },\n \"sourceUrl\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n {\n \"type\": \"null\"\n }\n ]\n }\n },\n \"required\": [\n \"id\",\n \"name\",\n \"role\",\n \"storeDomain\",\n \"processing\",\n \"sourceUrl\"\n ],\n \"additionalProperties\": false,\n \"description\": \"The selected theme projection; sourceUrl is null when the upstream source URL is unavailable.\"\n },\n \"ThemeEnvironment\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"environment\": {\n \"type\": \"string\"\n },\n \"result\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"changed\": {\n \"type\": \"boolean\"\n },\n \"originalName\": {\n \"type\": \"string\"\n },\n \"theme\": {\n \"$ref\": \"#/definitions/Theme\"\n }\n },\n \"required\": [\n \"status\",\n \"changed\",\n \"originalName\",\n \"theme\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"cancelled\"\n }\n },\n \"required\": [\n \"status\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"required\": [\n \"environment\",\n \"result\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"environment\": {\n \"type\": \"string\"\n },\n \"error\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"abort\"\n },\n \"message\": {\n \"type\": \"string\"\n },\n \"code\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"A stable error code, included only when known.\"\n },\n \"tryMessage\": {\n \"type\": \"string\"\n },\n \"nextSteps\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"customSections\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"title\": {\n \"type\": \"string\"\n },\n \"body\": {\n \"anyOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n }\n ]\n }\n },\n \"required\": [\n \"body\"\n ],\n \"additionalProperties\": false\n }\n },\n \"details\": {\n \"description\": \"Selected domain details, preserving native API payloads such as GraphQL errors, extensions, and data.\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"bug\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/details\"\n },\n \"stack\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"external\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/details\"\n },\n \"command\": {\n \"type\": \"string\"\n },\n \"args\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": [\n \"type\",\n \"message\",\n \"command\",\n \"args\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"required\": [\n \"environment\",\n \"error\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
7794
8081
|
"flags": {
|
|
7795
8082
|
"json-schema": {
|
|
7796
8083
|
"description": "Print the command's JSON schemas.",
|
|
@@ -7830,6 +8117,15 @@
|
|
|
7830
8117
|
"allowNo": false,
|
|
7831
8118
|
"type": "boolean"
|
|
7832
8119
|
},
|
|
8120
|
+
"json": {
|
|
8121
|
+
"char": "j",
|
|
8122
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
8123
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
8124
|
+
"hidden": false,
|
|
8125
|
+
"name": "json",
|
|
8126
|
+
"allowNo": false,
|
|
8127
|
+
"type": "boolean"
|
|
8128
|
+
},
|
|
7833
8129
|
"path": {
|
|
7834
8130
|
"description": "The path where you want to run the command. Defaults to the current working directory.",
|
|
7835
8131
|
"env": "SHOPIFY_FLAG_PATH",
|
|
@@ -7926,7 +8222,7 @@
|
|
|
7926
8222
|
"theme:share": {
|
|
7927
8223
|
"aliases": [],
|
|
7928
8224
|
"args": {},
|
|
7929
|
-
"description": "Uploads your theme as a new, unpublished theme in your theme library. The theme is given a randomized name.\n\n This command returns a \"preview link\" (https://help.shopify.com/manual/online-store/themes/adding-themes#share-a-theme-preview-with-others) that you can share with others.",
|
|
8225
|
+
"description": "Uploads your theme as a new, unpublished theme in your theme library. The theme is given a randomized name.\n\n This command returns a \"preview link\" (https://help.shopify.com/manual/online-store/themes/adding-themes#share-a-theme-preview-with-others) that you can share with others.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `ThemeShareResult` schema.\n\n```json\n{\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/0/properties/result\"\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"environments\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/ThemeEnvironment\"\n }\n }\n },\n \"required\": [\n \"environments\"\n ],\n \"additionalProperties\": false\n }\n ],\n \"title\": \"ThemeShareResult\",\n \"definitions\": {\n \"ThemePushTheme\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"string\",\n \"pattern\": \"^\\\\d+$\",\n \"description\": \"The decimal Online Store theme ID, not a Shopify GID.\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"role\": {\n \"type\": \"string\",\n \"description\": \"The upstream theme role; known values include live, unpublished, and development.\"\n },\n \"storeDomain\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"pattern\": \"^[a-z0-9][a-z0-9-]*\\\\.myshopify\\\\.com$\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"previewUrl\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"editorUrl\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n {\n \"type\": \"null\"\n }\n ]\n }\n },\n \"required\": [\n \"id\",\n \"name\",\n \"role\",\n \"storeDomain\",\n \"previewUrl\",\n \"editorUrl\"\n ],\n \"additionalProperties\": false\n },\n \"ThemeEnvironment\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"environment\": {\n \"type\": \"string\"\n },\n \"result\": {\n \"anyOf\": [\n {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"enum\": [\n \"success\",\n \"partial\"\n ]\n },\n \"changed\": {\n \"type\": \"boolean\"\n },\n \"theme\": {\n \"$ref\": \"#/definitions/ThemePushTheme\"\n },\n \"issues\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"filePath\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"filePath\",\n \"message\"\n ],\n \"additionalProperties\": false\n }\n }\n },\n \"required\": [\n \"status\",\n \"changed\",\n \"theme\",\n \"issues\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"skipped\"\n },\n \"reason\": {\n \"type\": \"string\",\n \"const\": \"unsafe-directory\"\n }\n },\n \"required\": [\n \"status\",\n \"reason\"\n ],\n \"additionalProperties\": false\n }\n ]\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"cancelled\"\n }\n },\n \"required\": [\n \"status\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"required\": [\n \"environment\",\n \"result\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"environment\": {\n \"type\": \"string\"\n },\n \"error\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"abort\"\n },\n \"message\": {\n \"type\": \"string\"\n },\n \"code\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"description\": \"A stable error code, included only when known.\"\n },\n \"tryMessage\": {\n \"type\": \"string\"\n },\n \"nextSteps\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"customSections\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"title\": {\n \"type\": \"string\"\n },\n \"body\": {\n \"anyOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n }\n ]\n }\n },\n \"required\": [\n \"body\"\n ],\n \"additionalProperties\": false\n }\n },\n \"details\": {\n \"description\": \"Selected domain details, preserving native API payloads such as GraphQL errors, extensions, and data.\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"bug\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/details\"\n },\n \"stack\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"type\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"const\": \"external\"\n },\n \"message\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/message\"\n },\n \"code\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/code\"\n },\n \"tryMessage\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/tryMessage\"\n },\n \"nextSteps\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/nextSteps\"\n },\n \"customSections\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/customSections\"\n },\n \"details\": {\n \"$ref\": \"#/definitions/ThemeEnvironment/anyOf/1/properties/error/anyOf/0/properties/details\"\n },\n \"command\": {\n \"type\": \"string\"\n },\n \"args\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": [\n \"type\",\n \"message\",\n \"command\",\n \"args\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"required\": [\n \"environment\",\n \"error\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
7930
8226
|
"flags": {
|
|
7931
8227
|
"json-schema": {
|
|
7932
8228
|
"description": "Print the command's JSON schemas.",
|
|
@@ -7966,6 +8262,15 @@
|
|
|
7966
8262
|
"allowNo": false,
|
|
7967
8263
|
"type": "boolean"
|
|
7968
8264
|
},
|
|
8265
|
+
"json": {
|
|
8266
|
+
"char": "j",
|
|
8267
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
8268
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
8269
|
+
"hidden": false,
|
|
8270
|
+
"name": "json",
|
|
8271
|
+
"allowNo": false,
|
|
8272
|
+
"type": "boolean"
|
|
8273
|
+
},
|
|
7969
8274
|
"path": {
|
|
7970
8275
|
"description": "The path where you want to run the command. Defaults to the current working directory.",
|
|
7971
8276
|
"env": "SHOPIFY_FLAG_PATH",
|
|
@@ -8348,7 +8653,7 @@
|
|
|
8348
8653
|
"config:autocorrect:off": {
|
|
8349
8654
|
"aliases": [],
|
|
8350
8655
|
"args": {},
|
|
8351
|
-
"description": "Disable autocorrect. Off by default.\n\n When autocorrection is enabled, Shopify CLI automatically runs a corrected version of your command if a correction is available.\n\n When autocorrection is disabled, you need to confirm that you want to run corrections for mistyped commands.\n",
|
|
8656
|
+
"description": "Disable autocorrect. Off by default.\n\n When autocorrection is enabled, Shopify CLI automatically runs a corrected version of your command if a correction is available.\n\n When autocorrection is disabled, you need to confirm that you want to run corrections for mistyped commands.\n\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `AutocorrectResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"enabled\": {\n \"type\": \"boolean\"\n }\n },\n \"required\": [\n \"enabled\"\n ],\n \"additionalProperties\": false,\n \"title\": \"AutocorrectResult\",\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
8352
8657
|
"flags": {
|
|
8353
8658
|
"json-schema": {
|
|
8354
8659
|
"description": "Print the command's JSON schemas.",
|
|
@@ -8356,24 +8661,56 @@
|
|
|
8356
8661
|
"name": "json-schema",
|
|
8357
8662
|
"allowNo": false,
|
|
8358
8663
|
"type": "boolean"
|
|
8359
|
-
}
|
|
8360
|
-
|
|
8361
|
-
|
|
8362
|
-
|
|
8363
|
-
|
|
8364
|
-
|
|
8365
|
-
|
|
8366
|
-
|
|
8367
|
-
|
|
8368
|
-
|
|
8369
|
-
|
|
8664
|
+
},
|
|
8665
|
+
"no-input": {
|
|
8666
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
8667
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
8668
|
+
"name": "no-input",
|
|
8669
|
+
"allowNo": false,
|
|
8670
|
+
"type": "boolean"
|
|
8671
|
+
},
|
|
8672
|
+
"no-color": {
|
|
8673
|
+
"description": "Disable color output.",
|
|
8674
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
8675
|
+
"hidden": false,
|
|
8676
|
+
"name": "no-color",
|
|
8677
|
+
"allowNo": false,
|
|
8678
|
+
"type": "boolean"
|
|
8679
|
+
},
|
|
8680
|
+
"verbose": {
|
|
8681
|
+
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
8682
|
+
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
8683
|
+
"hidden": false,
|
|
8684
|
+
"name": "verbose",
|
|
8685
|
+
"allowNo": false,
|
|
8686
|
+
"type": "boolean"
|
|
8687
|
+
},
|
|
8688
|
+
"json": {
|
|
8689
|
+
"char": "j",
|
|
8690
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
8691
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
8692
|
+
"hidden": false,
|
|
8693
|
+
"name": "json",
|
|
8694
|
+
"allowNo": false,
|
|
8695
|
+
"type": "boolean"
|
|
8696
|
+
}
|
|
8697
|
+
},
|
|
8698
|
+
"hasDynamicHelp": false,
|
|
8699
|
+
"hiddenAliases": [],
|
|
8700
|
+
"id": "config:autocorrect:off",
|
|
8701
|
+
"pluginAlias": "shopify",
|
|
8702
|
+
"pluginName": "shopify",
|
|
8703
|
+
"pluginType": "core",
|
|
8704
|
+
"strict": true,
|
|
8705
|
+
"summary": "Disable autocorrect. Off by default.",
|
|
8706
|
+
"enableJsonFlag": false,
|
|
8370
8707
|
"descriptionWithMarkdown": "Disable autocorrect. Off by default.\n\n When autocorrection is enabled, Shopify CLI automatically runs a corrected version of your command if a correction is available.\n\n When autocorrection is disabled, you need to confirm that you want to run corrections for mistyped commands.\n",
|
|
8371
8708
|
"customPluginName": "@shopify/plugin-did-you-mean"
|
|
8372
8709
|
},
|
|
8373
8710
|
"config:autocorrect:status": {
|
|
8374
8711
|
"aliases": [],
|
|
8375
8712
|
"args": {},
|
|
8376
|
-
"description": "Check whether autocorrect is enabled or disabled. On by default.\n\n When autocorrection is enabled, Shopify CLI automatically runs a corrected version of your command if a correction is available.\n\n When autocorrection is disabled, you need to confirm that you want to run corrections for mistyped commands.\n",
|
|
8713
|
+
"description": "Check whether autocorrect is enabled or disabled. On by default.\n\n When autocorrection is enabled, Shopify CLI automatically runs a corrected version of your command if a correction is available.\n\n When autocorrection is disabled, you need to confirm that you want to run corrections for mistyped commands.\n\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `AutocorrectResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"enabled\": {\n \"type\": \"boolean\"\n }\n },\n \"required\": [\n \"enabled\"\n ],\n \"additionalProperties\": false,\n \"title\": \"AutocorrectResult\",\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
8377
8714
|
"flags": {
|
|
8378
8715
|
"json-schema": {
|
|
8379
8716
|
"description": "Print the command's JSON schemas.",
|
|
@@ -8381,6 +8718,38 @@
|
|
|
8381
8718
|
"name": "json-schema",
|
|
8382
8719
|
"allowNo": false,
|
|
8383
8720
|
"type": "boolean"
|
|
8721
|
+
},
|
|
8722
|
+
"no-input": {
|
|
8723
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
8724
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
8725
|
+
"name": "no-input",
|
|
8726
|
+
"allowNo": false,
|
|
8727
|
+
"type": "boolean"
|
|
8728
|
+
},
|
|
8729
|
+
"no-color": {
|
|
8730
|
+
"description": "Disable color output.",
|
|
8731
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
8732
|
+
"hidden": false,
|
|
8733
|
+
"name": "no-color",
|
|
8734
|
+
"allowNo": false,
|
|
8735
|
+
"type": "boolean"
|
|
8736
|
+
},
|
|
8737
|
+
"verbose": {
|
|
8738
|
+
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
8739
|
+
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
8740
|
+
"hidden": false,
|
|
8741
|
+
"name": "verbose",
|
|
8742
|
+
"allowNo": false,
|
|
8743
|
+
"type": "boolean"
|
|
8744
|
+
},
|
|
8745
|
+
"json": {
|
|
8746
|
+
"char": "j",
|
|
8747
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
8748
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
8749
|
+
"hidden": false,
|
|
8750
|
+
"name": "json",
|
|
8751
|
+
"allowNo": false,
|
|
8752
|
+
"type": "boolean"
|
|
8384
8753
|
}
|
|
8385
8754
|
},
|
|
8386
8755
|
"hasDynamicHelp": false,
|
|
@@ -8398,7 +8767,7 @@
|
|
|
8398
8767
|
"config:autocorrect:on": {
|
|
8399
8768
|
"aliases": [],
|
|
8400
8769
|
"args": {},
|
|
8401
|
-
"description": "Enable autocorrect. Off by default.\n\n When autocorrection is enabled, Shopify CLI automatically runs a corrected version of your command if a correction is available.\n\n When autocorrection is disabled, you need to confirm that you want to run corrections for mistyped commands.\n",
|
|
8770
|
+
"description": "Enable autocorrect. Off by default.\n\n When autocorrection is enabled, Shopify CLI automatically runs a corrected version of your command if a correction is available.\n\n When autocorrection is disabled, you need to confirm that you want to run corrections for mistyped commands.\n\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `AutocorrectResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"enabled\": {\n \"type\": \"boolean\"\n }\n },\n \"required\": [\n \"enabled\"\n ],\n \"additionalProperties\": false,\n \"title\": \"AutocorrectResult\",\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
8402
8771
|
"flags": {
|
|
8403
8772
|
"json-schema": {
|
|
8404
8773
|
"description": "Print the command's JSON schemas.",
|
|
@@ -8406,6 +8775,38 @@
|
|
|
8406
8775
|
"name": "json-schema",
|
|
8407
8776
|
"allowNo": false,
|
|
8408
8777
|
"type": "boolean"
|
|
8778
|
+
},
|
|
8779
|
+
"no-input": {
|
|
8780
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
8781
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
8782
|
+
"name": "no-input",
|
|
8783
|
+
"allowNo": false,
|
|
8784
|
+
"type": "boolean"
|
|
8785
|
+
},
|
|
8786
|
+
"no-color": {
|
|
8787
|
+
"description": "Disable color output.",
|
|
8788
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
8789
|
+
"hidden": false,
|
|
8790
|
+
"name": "no-color",
|
|
8791
|
+
"allowNo": false,
|
|
8792
|
+
"type": "boolean"
|
|
8793
|
+
},
|
|
8794
|
+
"verbose": {
|
|
8795
|
+
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
8796
|
+
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
8797
|
+
"hidden": false,
|
|
8798
|
+
"name": "verbose",
|
|
8799
|
+
"allowNo": false,
|
|
8800
|
+
"type": "boolean"
|
|
8801
|
+
},
|
|
8802
|
+
"json": {
|
|
8803
|
+
"char": "j",
|
|
8804
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
8805
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
8806
|
+
"hidden": false,
|
|
8807
|
+
"name": "json",
|
|
8808
|
+
"allowNo": false,
|
|
8809
|
+
"type": "boolean"
|
|
8409
8810
|
}
|
|
8410
8811
|
},
|
|
8411
8812
|
"hasDynamicHelp": false,
|
|
@@ -8527,6 +8928,29 @@
|
|
|
8527
8928
|
"allowNo": false,
|
|
8528
8929
|
"type": "boolean"
|
|
8529
8930
|
},
|
|
8931
|
+
"no-input": {
|
|
8932
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
8933
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
8934
|
+
"name": "no-input",
|
|
8935
|
+
"allowNo": false,
|
|
8936
|
+
"type": "boolean"
|
|
8937
|
+
},
|
|
8938
|
+
"no-color": {
|
|
8939
|
+
"description": "Disable color output.",
|
|
8940
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
8941
|
+
"hidden": false,
|
|
8942
|
+
"name": "no-color",
|
|
8943
|
+
"allowNo": false,
|
|
8944
|
+
"type": "boolean"
|
|
8945
|
+
},
|
|
8946
|
+
"verbose": {
|
|
8947
|
+
"description": "Outputs more information about the command's execution.",
|
|
8948
|
+
"env": "SHOPIFY_HYDROGEN_FLAG_VERBOSE",
|
|
8949
|
+
"name": "verbose",
|
|
8950
|
+
"required": false,
|
|
8951
|
+
"allowNo": false,
|
|
8952
|
+
"type": "boolean"
|
|
8953
|
+
},
|
|
8530
8954
|
"path": {
|
|
8531
8955
|
"description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.",
|
|
8532
8956
|
"env": "SHOPIFY_HYDROGEN_FLAG_PATH",
|
|
@@ -8638,14 +9062,6 @@
|
|
|
8638
9062
|
"allowNo": false,
|
|
8639
9063
|
"type": "boolean"
|
|
8640
9064
|
},
|
|
8641
|
-
"verbose": {
|
|
8642
|
-
"description": "Outputs more information about the command's execution.",
|
|
8643
|
-
"env": "SHOPIFY_HYDROGEN_FLAG_VERBOSE",
|
|
8644
|
-
"name": "verbose",
|
|
8645
|
-
"required": false,
|
|
8646
|
-
"allowNo": false,
|
|
8647
|
-
"type": "boolean"
|
|
8648
|
-
},
|
|
8649
9065
|
"host": {
|
|
8650
9066
|
"description": "Expose the server to the local network",
|
|
8651
9067
|
"name": "host",
|
|
@@ -8675,7 +9091,7 @@
|
|
|
8675
9091
|
"hydrogen:build": {
|
|
8676
9092
|
"aliases": [],
|
|
8677
9093
|
"args": {},
|
|
8678
|
-
"description": "Builds a Hydrogen storefront for production.",
|
|
9094
|
+
"description": "Builds a Hydrogen storefront for production. The client and app worker files are compiled to a `/dist` folder in your Hydrogen project directory.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `HydrogenBuildResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"directory\": {\n \"$ref\": \"#/definitions/AbsolutePath\"\n },\n \"clientDirectory\": {\n \"$ref\": \"#/definitions/AbsolutePath\"\n },\n \"serverDirectory\": {\n \"$ref\": \"#/definitions/AbsolutePath\"\n },\n \"serverPath\": {\n \"$ref\": \"#/definitions/AbsolutePath\"\n }\n },\n \"required\": [\n \"directory\",\n \"clientDirectory\",\n \"serverDirectory\",\n \"serverPath\"\n ],\n \"additionalProperties\": false,\n \"title\": \"HydrogenBuildResult\",\n \"definitions\": {\n \"AbsolutePath\": {\n \"type\": \"string\"\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
8679
9095
|
"flags": {
|
|
8680
9096
|
"json-schema": {
|
|
8681
9097
|
"description": "Print the command's JSON schemas.",
|
|
@@ -8684,6 +9100,38 @@
|
|
|
8684
9100
|
"allowNo": false,
|
|
8685
9101
|
"type": "boolean"
|
|
8686
9102
|
},
|
|
9103
|
+
"no-input": {
|
|
9104
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
9105
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
9106
|
+
"name": "no-input",
|
|
9107
|
+
"allowNo": false,
|
|
9108
|
+
"type": "boolean"
|
|
9109
|
+
},
|
|
9110
|
+
"no-color": {
|
|
9111
|
+
"description": "Disable color output.",
|
|
9112
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
9113
|
+
"hidden": false,
|
|
9114
|
+
"name": "no-color",
|
|
9115
|
+
"allowNo": false,
|
|
9116
|
+
"type": "boolean"
|
|
9117
|
+
},
|
|
9118
|
+
"verbose": {
|
|
9119
|
+
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
9120
|
+
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
9121
|
+
"hidden": false,
|
|
9122
|
+
"name": "verbose",
|
|
9123
|
+
"allowNo": false,
|
|
9124
|
+
"type": "boolean"
|
|
9125
|
+
},
|
|
9126
|
+
"json": {
|
|
9127
|
+
"char": "j",
|
|
9128
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
9129
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
9130
|
+
"hidden": false,
|
|
9131
|
+
"name": "json",
|
|
9132
|
+
"allowNo": false,
|
|
9133
|
+
"type": "boolean"
|
|
9134
|
+
},
|
|
8687
9135
|
"path": {
|
|
8688
9136
|
"description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.",
|
|
8689
9137
|
"env": "SHOPIFY_HYDROGEN_FLAG_PATH",
|
|
@@ -8783,7 +9231,7 @@
|
|
|
8783
9231
|
"required": true
|
|
8784
9232
|
}
|
|
8785
9233
|
},
|
|
8786
|
-
"description": "
|
|
9234
|
+
"description": "Checks whether your Hydrogen app includes a set of standard Shopify routes.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `HydrogenCheckResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"valid\": {\n \"type\": \"boolean\"\n },\n \"missingRoutes\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"reservedRoutes\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": [\n \"valid\",\n \"missingRoutes\",\n \"reservedRoutes\"\n ],\n \"additionalProperties\": false,\n \"title\": \"HydrogenCheckResult\",\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
8787
9235
|
"flags": {
|
|
8788
9236
|
"json-schema": {
|
|
8789
9237
|
"description": "Print the command's JSON schemas.",
|
|
@@ -8792,6 +9240,38 @@
|
|
|
8792
9240
|
"allowNo": false,
|
|
8793
9241
|
"type": "boolean"
|
|
8794
9242
|
},
|
|
9243
|
+
"no-input": {
|
|
9244
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
9245
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
9246
|
+
"name": "no-input",
|
|
9247
|
+
"allowNo": false,
|
|
9248
|
+
"type": "boolean"
|
|
9249
|
+
},
|
|
9250
|
+
"no-color": {
|
|
9251
|
+
"description": "Disable color output.",
|
|
9252
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
9253
|
+
"hidden": false,
|
|
9254
|
+
"name": "no-color",
|
|
9255
|
+
"allowNo": false,
|
|
9256
|
+
"type": "boolean"
|
|
9257
|
+
},
|
|
9258
|
+
"verbose": {
|
|
9259
|
+
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
9260
|
+
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
9261
|
+
"hidden": false,
|
|
9262
|
+
"name": "verbose",
|
|
9263
|
+
"allowNo": false,
|
|
9264
|
+
"type": "boolean"
|
|
9265
|
+
},
|
|
9266
|
+
"json": {
|
|
9267
|
+
"char": "j",
|
|
9268
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
9269
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
9270
|
+
"hidden": false,
|
|
9271
|
+
"name": "json",
|
|
9272
|
+
"allowNo": false,
|
|
9273
|
+
"type": "boolean"
|
|
9274
|
+
},
|
|
8795
9275
|
"path": {
|
|
8796
9276
|
"description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.",
|
|
8797
9277
|
"env": "SHOPIFY_HYDROGEN_FLAG_PATH",
|
|
@@ -8815,7 +9295,7 @@
|
|
|
8815
9295
|
"hydrogen:codegen": {
|
|
8816
9296
|
"aliases": [],
|
|
8817
9297
|
"args": {},
|
|
8818
|
-
"description": "
|
|
9298
|
+
"description": "Automatically generates GraphQL types for your project’s Storefront API queries.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `HydrogenCodegenResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"files\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"path\": {\n \"type\": \"string\"\n },\n \"sources\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n },\n \"description\": \"Source patterns from the GraphQL codegen configuration.\"\n }\n },\n \"required\": [\n \"path\",\n \"sources\"\n ],\n \"additionalProperties\": false\n }\n }\n },\n \"required\": [\n \"files\"\n ],\n \"additionalProperties\": false,\n \"title\": \"HydrogenCodegenResult\",\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
8819
9299
|
"flags": {
|
|
8820
9300
|
"json-schema": {
|
|
8821
9301
|
"description": "Print the command's JSON schemas.",
|
|
@@ -8824,6 +9304,38 @@
|
|
|
8824
9304
|
"allowNo": false,
|
|
8825
9305
|
"type": "boolean"
|
|
8826
9306
|
},
|
|
9307
|
+
"no-input": {
|
|
9308
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
9309
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
9310
|
+
"name": "no-input",
|
|
9311
|
+
"allowNo": false,
|
|
9312
|
+
"type": "boolean"
|
|
9313
|
+
},
|
|
9314
|
+
"no-color": {
|
|
9315
|
+
"description": "Disable color output.",
|
|
9316
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
9317
|
+
"hidden": false,
|
|
9318
|
+
"name": "no-color",
|
|
9319
|
+
"allowNo": false,
|
|
9320
|
+
"type": "boolean"
|
|
9321
|
+
},
|
|
9322
|
+
"verbose": {
|
|
9323
|
+
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
9324
|
+
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
9325
|
+
"hidden": false,
|
|
9326
|
+
"name": "verbose",
|
|
9327
|
+
"allowNo": false,
|
|
9328
|
+
"type": "boolean"
|
|
9329
|
+
},
|
|
9330
|
+
"json": {
|
|
9331
|
+
"char": "j",
|
|
9332
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
9333
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
9334
|
+
"hidden": false,
|
|
9335
|
+
"name": "json",
|
|
9336
|
+
"allowNo": false,
|
|
9337
|
+
"type": "boolean"
|
|
9338
|
+
},
|
|
8827
9339
|
"path": {
|
|
8828
9340
|
"description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.",
|
|
8829
9341
|
"env": "SHOPIFY_HYDROGEN_FLAG_PATH",
|
|
@@ -8870,7 +9382,7 @@
|
|
|
8870
9382
|
"hydrogen:deploy": {
|
|
8871
9383
|
"aliases": [],
|
|
8872
9384
|
"args": {},
|
|
8873
|
-
"description": "Builds and deploys
|
|
9385
|
+
"description": "Builds and deploys your Hydrogen storefront to Oxygen. Requires an Oxygen deployment token to be set with the `--token` flag or an environment variable (`SHOPIFY_HYDROGEN_DEPLOYMENT_TOKEN`). If the storefront is \"linked\" (https://shopify.dev/docs/api/shopify-cli/hydrogen/hydrogen-link) then the Oxygen deployment token for the linked storefront will be used automatically.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `HydrogenDeployResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"enum\": [\n \"success\",\n \"cancelled\"\n ]\n },\n \"deployment\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/Deployment\"\n },\n {\n \"type\": \"null\"\n }\n ]\n }\n },\n \"required\": [\n \"status\",\n \"deployment\"\n ],\n \"additionalProperties\": false,\n \"description\": \"The command result. The existing h2_deploy_log.json file retains Oxygen CompletedDeployment format, independently of this result.\",\n \"title\": \"HydrogenDeployResult\",\n \"definitions\": {\n \"Deployment\": {\n \"type\": \"object\",\n \"properties\": {\n \"url\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"authBypassToken\": {\n \"type\": [\n \"string\",\n \"null\"\n ]\n }\n },\n \"required\": [\n \"url\",\n \"authBypassToken\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
8874
9386
|
"flags": {
|
|
8875
9387
|
"json-schema": {
|
|
8876
9388
|
"description": "Print the command's JSON schemas.",
|
|
@@ -8879,23 +9391,55 @@
|
|
|
8879
9391
|
"allowNo": false,
|
|
8880
9392
|
"type": "boolean"
|
|
8881
9393
|
},
|
|
8882
|
-
"
|
|
8883
|
-
"description": "
|
|
8884
|
-
"env": "
|
|
8885
|
-
"name": "
|
|
8886
|
-
"
|
|
8887
|
-
"
|
|
8888
|
-
"type": "option"
|
|
9394
|
+
"no-input": {
|
|
9395
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
9396
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
9397
|
+
"name": "no-input",
|
|
9398
|
+
"allowNo": false,
|
|
9399
|
+
"type": "boolean"
|
|
8889
9400
|
},
|
|
8890
|
-
"
|
|
8891
|
-
"description": "
|
|
8892
|
-
"
|
|
8893
|
-
|
|
8894
|
-
|
|
8895
|
-
"
|
|
8896
|
-
"
|
|
8897
|
-
|
|
8898
|
-
|
|
9401
|
+
"no-color": {
|
|
9402
|
+
"description": "Disable color output.",
|
|
9403
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
9404
|
+
"hidden": false,
|
|
9405
|
+
"name": "no-color",
|
|
9406
|
+
"allowNo": false,
|
|
9407
|
+
"type": "boolean"
|
|
9408
|
+
},
|
|
9409
|
+
"verbose": {
|
|
9410
|
+
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
9411
|
+
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
9412
|
+
"hidden": false,
|
|
9413
|
+
"name": "verbose",
|
|
9414
|
+
"allowNo": false,
|
|
9415
|
+
"type": "boolean"
|
|
9416
|
+
},
|
|
9417
|
+
"json": {
|
|
9418
|
+
"char": "j",
|
|
9419
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
9420
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
9421
|
+
"hidden": false,
|
|
9422
|
+
"name": "json",
|
|
9423
|
+
"allowNo": false,
|
|
9424
|
+
"type": "boolean"
|
|
9425
|
+
},
|
|
9426
|
+
"entry": {
|
|
9427
|
+
"description": "Entry file for the worker. Defaults to `./server`.",
|
|
9428
|
+
"env": "SHOPIFY_HYDROGEN_FLAG_ENTRY",
|
|
9429
|
+
"name": "entry",
|
|
9430
|
+
"hasDynamicHelp": false,
|
|
9431
|
+
"multiple": false,
|
|
9432
|
+
"type": "option"
|
|
9433
|
+
},
|
|
9434
|
+
"env": {
|
|
9435
|
+
"description": "Specifies the environment to perform the operation using its handle. Fetch the handle using the `env list` command.",
|
|
9436
|
+
"exclusive": [
|
|
9437
|
+
"env-branch"
|
|
9438
|
+
],
|
|
9439
|
+
"name": "env",
|
|
9440
|
+
"hasDynamicHelp": false,
|
|
9441
|
+
"multiple": false,
|
|
9442
|
+
"type": "option"
|
|
8899
9443
|
},
|
|
8900
9444
|
"env-branch": {
|
|
8901
9445
|
"deprecated": {
|
|
@@ -9093,6 +9637,29 @@
|
|
|
9093
9637
|
"name": "json-schema",
|
|
9094
9638
|
"allowNo": false,
|
|
9095
9639
|
"type": "boolean"
|
|
9640
|
+
},
|
|
9641
|
+
"no-input": {
|
|
9642
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
9643
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
9644
|
+
"name": "no-input",
|
|
9645
|
+
"allowNo": false,
|
|
9646
|
+
"type": "boolean"
|
|
9647
|
+
},
|
|
9648
|
+
"no-color": {
|
|
9649
|
+
"description": "Disable color output.",
|
|
9650
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
9651
|
+
"hidden": false,
|
|
9652
|
+
"name": "no-color",
|
|
9653
|
+
"allowNo": false,
|
|
9654
|
+
"type": "boolean"
|
|
9655
|
+
},
|
|
9656
|
+
"verbose": {
|
|
9657
|
+
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
9658
|
+
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
9659
|
+
"hidden": false,
|
|
9660
|
+
"name": "verbose",
|
|
9661
|
+
"allowNo": false,
|
|
9662
|
+
"type": "boolean"
|
|
9096
9663
|
}
|
|
9097
9664
|
},
|
|
9098
9665
|
"hasDynamicHelp": false,
|
|
@@ -9109,7 +9676,7 @@
|
|
|
9109
9676
|
"hydrogen:init": {
|
|
9110
9677
|
"aliases": [],
|
|
9111
9678
|
"args": {},
|
|
9112
|
-
"description": "Creates a new Hydrogen storefront.",
|
|
9679
|
+
"description": "Creates a new Hydrogen storefront.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `HydrogenInitResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"enum\": [\n \"success\",\n \"partial\",\n \"skipped\",\n \"cancelled\"\n ]\n },\n \"project\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/Project\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"All projected fields are present; unavailable settings are null. Route values are relative route names.\"\n },\n \"failures\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\",\n \"enum\": [\n \"dependencies\",\n \"markets\",\n \"routes\"\n ]\n }\n }\n },\n \"required\": [\n \"status\",\n \"project\",\n \"failures\"\n ],\n \"additionalProperties\": false,\n \"title\": \"HydrogenInitResult\",\n \"definitions\": {\n \"Project\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"directory\": {\n \"type\": \"string\"\n },\n \"storefrontName\": {\n \"type\": [\n \"string\",\n \"null\"\n ]\n },\n \"language\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"enum\": [\n \"js\",\n \"ts\"\n ]\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"packageManager\": {\n \"type\": \"string\",\n \"enum\": [\n \"npm\",\n \"pnpm\",\n \"yarn\",\n \"bun\",\n \"unknown\"\n ]\n },\n \"dependenciesInstalled\": {\n \"type\": \"boolean\"\n },\n \"cssStrategy\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"enum\": [\n \"none\",\n \"tailwind\",\n \"vanilla-extract\",\n \"css-modules\",\n \"postcss\"\n ]\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"i18n\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"enum\": [\n \"none\",\n \"subfolders\",\n \"domains\",\n \"subdomains\"\n ]\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"routes\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"anyOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n ]\n }\n },\n {\n \"type\": \"null\"\n }\n ]\n }\n },\n \"required\": [\n \"name\",\n \"directory\",\n \"storefrontName\",\n \"language\",\n \"packageManager\",\n \"dependenciesInstalled\",\n \"cssStrategy\",\n \"i18n\",\n \"routes\"\n ],\n \"additionalProperties\": false,\n \"description\": \"All projected fields are present; unavailable settings are null. Route values are relative route names.\"\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
9113
9680
|
"flags": {
|
|
9114
9681
|
"json-schema": {
|
|
9115
9682
|
"description": "Print the command's JSON schemas.",
|
|
@@ -9118,6 +9685,38 @@
|
|
|
9118
9685
|
"allowNo": false,
|
|
9119
9686
|
"type": "boolean"
|
|
9120
9687
|
},
|
|
9688
|
+
"no-input": {
|
|
9689
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
9690
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
9691
|
+
"name": "no-input",
|
|
9692
|
+
"allowNo": false,
|
|
9693
|
+
"type": "boolean"
|
|
9694
|
+
},
|
|
9695
|
+
"no-color": {
|
|
9696
|
+
"description": "Disable color output.",
|
|
9697
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
9698
|
+
"hidden": false,
|
|
9699
|
+
"name": "no-color",
|
|
9700
|
+
"allowNo": false,
|
|
9701
|
+
"type": "boolean"
|
|
9702
|
+
},
|
|
9703
|
+
"verbose": {
|
|
9704
|
+
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
9705
|
+
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
9706
|
+
"hidden": false,
|
|
9707
|
+
"name": "verbose",
|
|
9708
|
+
"allowNo": false,
|
|
9709
|
+
"type": "boolean"
|
|
9710
|
+
},
|
|
9711
|
+
"json": {
|
|
9712
|
+
"char": "j",
|
|
9713
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
9714
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
9715
|
+
"hidden": false,
|
|
9716
|
+
"name": "json",
|
|
9717
|
+
"allowNo": false,
|
|
9718
|
+
"type": "boolean"
|
|
9719
|
+
},
|
|
9121
9720
|
"force": {
|
|
9122
9721
|
"char": "f",
|
|
9123
9722
|
"description": "Overwrites the destination directory and files if they already exist.",
|
|
@@ -9230,7 +9829,7 @@
|
|
|
9230
9829
|
"hydrogen:link": {
|
|
9231
9830
|
"aliases": [],
|
|
9232
9831
|
"args": {},
|
|
9233
|
-
"description": "
|
|
9832
|
+
"description": "Links your local development environment to a remote Hydrogen storefront. You can link an unlimited number of development environments to a single Hydrogen storefront.\n\n Linking to a Hydrogen storefront enables you to run \"dev\" (https://shopify.dev/docs/api/shopify-cli/hydrogen/hydrogen-dev) and automatically inject your linked Hydrogen storefront's environment variables directly into the server runtime.\n\n After you run the `link` command, you can access the \"env list\" (https://shopify.dev/docs/api/shopify-cli/hydrogen/hydrogen-env-list), \"env pull\" (https://shopify.dev/docs/api/shopify-cli/hydrogen/hydrogen-env-pull), and \"unlink\" (https://shopify.dev/docs/api/shopify-cli/hydrogen/hydrogen-unlink) commands.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `HydrogenLinkResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"enum\": [\n \"success\",\n \"partial\",\n \"skipped\",\n \"cancelled\"\n ]\n },\n \"changed\": {\n \"type\": \"boolean\"\n },\n \"storeDomain\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"pattern\": \"^[a-z0-9][a-z0-9-]*\\\\.myshopify\\\\.com$\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"storefront\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/Storefront\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"All projected fields are present; unavailable productionUrl is null.\"\n }\n },\n \"required\": [\n \"status\",\n \"changed\",\n \"storeDomain\",\n \"storefront\"\n ],\n \"additionalProperties\": false,\n \"title\": \"HydrogenLinkResult\",\n \"definitions\": {\n \"Storefront\": {\n \"type\": \"object\",\n \"properties\": {\n \"gid\": {\n \"type\": \"string\",\n \"pattern\": \"^gid:\\\\/\\\\/shopify\\\\/HydrogenStorefront\\\\/\\\\d+$\",\n \"description\": \"A Shopify HydrogenStorefront GID.\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"productionUrl\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n {\n \"type\": \"null\"\n }\n ]\n }\n },\n \"required\": [\n \"gid\",\n \"name\",\n \"productionUrl\"\n ],\n \"additionalProperties\": false,\n \"description\": \"All projected fields are present; unavailable productionUrl is null.\"\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
9234
9833
|
"flags": {
|
|
9235
9834
|
"json-schema": {
|
|
9236
9835
|
"description": "Print the command's JSON schemas.",
|
|
@@ -9239,6 +9838,38 @@
|
|
|
9239
9838
|
"allowNo": false,
|
|
9240
9839
|
"type": "boolean"
|
|
9241
9840
|
},
|
|
9841
|
+
"no-input": {
|
|
9842
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
9843
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
9844
|
+
"name": "no-input",
|
|
9845
|
+
"allowNo": false,
|
|
9846
|
+
"type": "boolean"
|
|
9847
|
+
},
|
|
9848
|
+
"no-color": {
|
|
9849
|
+
"description": "Disable color output.",
|
|
9850
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
9851
|
+
"hidden": false,
|
|
9852
|
+
"name": "no-color",
|
|
9853
|
+
"allowNo": false,
|
|
9854
|
+
"type": "boolean"
|
|
9855
|
+
},
|
|
9856
|
+
"verbose": {
|
|
9857
|
+
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
9858
|
+
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
9859
|
+
"hidden": false,
|
|
9860
|
+
"name": "verbose",
|
|
9861
|
+
"allowNo": false,
|
|
9862
|
+
"type": "boolean"
|
|
9863
|
+
},
|
|
9864
|
+
"json": {
|
|
9865
|
+
"char": "j",
|
|
9866
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
9867
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
9868
|
+
"hidden": false,
|
|
9869
|
+
"name": "json",
|
|
9870
|
+
"allowNo": false,
|
|
9871
|
+
"type": "boolean"
|
|
9872
|
+
},
|
|
9242
9873
|
"force": {
|
|
9243
9874
|
"char": "f",
|
|
9244
9875
|
"description": "Overwrites the destination directory and files if they already exist.",
|
|
@@ -9312,7 +9943,7 @@
|
|
|
9312
9943
|
"hydrogen:list": {
|
|
9313
9944
|
"aliases": [],
|
|
9314
9945
|
"args": {},
|
|
9315
|
-
"description": "
|
|
9946
|
+
"description": "Lists all remote Hydrogen storefronts available to link to your local development environment.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `HydrogenListResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"storeDomain\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"pattern\": \"^[a-z0-9][a-z0-9-]*\\\\.myshopify\\\\.com$\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"storefronts\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/Storefront\"\n }\n }\n },\n \"required\": [\n \"storeDomain\",\n \"storefronts\"\n ],\n \"additionalProperties\": false,\n \"description\": \"The complete list of Hydrogen storefronts for the store.\",\n \"title\": \"HydrogenListResult\",\n \"definitions\": {\n \"Storefront\": {\n \"type\": \"object\",\n \"properties\": {\n \"gid\": {\n \"type\": \"string\",\n \"pattern\": \"^gid:\\\\/\\\\/shopify\\\\/HydrogenStorefront\\\\/\\\\d+$\",\n \"description\": \"A Shopify HydrogenStorefront GID.\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"productionUrl\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"currentProductionDeployment\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/Deployment\"\n },\n {\n \"type\": \"null\"\n }\n ]\n }\n },\n \"required\": [\n \"gid\",\n \"name\",\n \"productionUrl\",\n \"currentProductionDeployment\"\n ],\n \"additionalProperties\": false,\n \"description\": \"All projected fields are present; unavailable productionUrl is null.\"\n },\n \"Deployment\": {\n \"type\": \"object\",\n \"properties\": {\n \"gid\": {\n \"type\": \"string\",\n \"pattern\": \"^gid:\\\\/\\\\/shopify\\\\/HydrogenStorefrontDeployment\\\\/\\\\d+$\",\n \"description\": \"A Shopify HydrogenStorefrontDeployment GID.\"\n },\n \"createdAt\": {\n \"type\": \"string\",\n \"format\": \"date-time\"\n },\n \"commitMessage\": {\n \"type\": [\n \"string\",\n \"null\"\n ]\n }\n },\n \"required\": [\n \"gid\",\n \"createdAt\",\n \"commitMessage\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
9316
9947
|
"flags": {
|
|
9317
9948
|
"json-schema": {
|
|
9318
9949
|
"description": "Print the command's JSON schemas.",
|
|
@@ -9321,6 +9952,38 @@
|
|
|
9321
9952
|
"allowNo": false,
|
|
9322
9953
|
"type": "boolean"
|
|
9323
9954
|
},
|
|
9955
|
+
"no-input": {
|
|
9956
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
9957
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
9958
|
+
"name": "no-input",
|
|
9959
|
+
"allowNo": false,
|
|
9960
|
+
"type": "boolean"
|
|
9961
|
+
},
|
|
9962
|
+
"no-color": {
|
|
9963
|
+
"description": "Disable color output.",
|
|
9964
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
9965
|
+
"hidden": false,
|
|
9966
|
+
"name": "no-color",
|
|
9967
|
+
"allowNo": false,
|
|
9968
|
+
"type": "boolean"
|
|
9969
|
+
},
|
|
9970
|
+
"verbose": {
|
|
9971
|
+
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
9972
|
+
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
9973
|
+
"hidden": false,
|
|
9974
|
+
"name": "verbose",
|
|
9975
|
+
"allowNo": false,
|
|
9976
|
+
"type": "boolean"
|
|
9977
|
+
},
|
|
9978
|
+
"json": {
|
|
9979
|
+
"char": "j",
|
|
9980
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
9981
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
9982
|
+
"hidden": false,
|
|
9983
|
+
"name": "json",
|
|
9984
|
+
"allowNo": false,
|
|
9985
|
+
"type": "boolean"
|
|
9986
|
+
},
|
|
9324
9987
|
"path": {
|
|
9325
9988
|
"description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.",
|
|
9326
9989
|
"env": "SHOPIFY_HYDROGEN_FLAG_PATH",
|
|
@@ -9344,7 +10007,7 @@
|
|
|
9344
10007
|
"hydrogen:login": {
|
|
9345
10008
|
"aliases": [],
|
|
9346
10009
|
"args": {},
|
|
9347
|
-
"description": "
|
|
10010
|
+
"description": "Logs in to the specified shop and saves the shop domain to the project.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `HydrogenLoginResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"storeDomain\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"pattern\": \"^[a-z0-9][a-z0-9-]*\\\\.myshopify\\\\.com$\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"name\": {\n \"type\": [\n \"string\",\n \"null\"\n ]\n },\n \"email\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"email\"\n },\n {\n \"type\": \"null\"\n }\n ]\n }\n },\n \"required\": [\n \"storeDomain\",\n \"name\",\n \"email\"\n ],\n \"additionalProperties\": false,\n \"title\": \"HydrogenLoginResult\",\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
9348
10011
|
"flags": {
|
|
9349
10012
|
"json-schema": {
|
|
9350
10013
|
"description": "Print the command's JSON schemas.",
|
|
@@ -9353,6 +10016,38 @@
|
|
|
9353
10016
|
"allowNo": false,
|
|
9354
10017
|
"type": "boolean"
|
|
9355
10018
|
},
|
|
10019
|
+
"no-input": {
|
|
10020
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
10021
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
10022
|
+
"name": "no-input",
|
|
10023
|
+
"allowNo": false,
|
|
10024
|
+
"type": "boolean"
|
|
10025
|
+
},
|
|
10026
|
+
"no-color": {
|
|
10027
|
+
"description": "Disable color output.",
|
|
10028
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
10029
|
+
"hidden": false,
|
|
10030
|
+
"name": "no-color",
|
|
10031
|
+
"allowNo": false,
|
|
10032
|
+
"type": "boolean"
|
|
10033
|
+
},
|
|
10034
|
+
"verbose": {
|
|
10035
|
+
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
10036
|
+
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
10037
|
+
"hidden": false,
|
|
10038
|
+
"name": "verbose",
|
|
10039
|
+
"allowNo": false,
|
|
10040
|
+
"type": "boolean"
|
|
10041
|
+
},
|
|
10042
|
+
"json": {
|
|
10043
|
+
"char": "j",
|
|
10044
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
10045
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
10046
|
+
"hidden": false,
|
|
10047
|
+
"name": "json",
|
|
10048
|
+
"allowNo": false,
|
|
10049
|
+
"type": "boolean"
|
|
10050
|
+
},
|
|
9356
10051
|
"path": {
|
|
9357
10052
|
"description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.",
|
|
9358
10053
|
"env": "SHOPIFY_HYDROGEN_FLAG_PATH",
|
|
@@ -9385,7 +10080,7 @@
|
|
|
9385
10080
|
"hydrogen:logout": {
|
|
9386
10081
|
"aliases": [],
|
|
9387
10082
|
"args": {},
|
|
9388
|
-
"description": "
|
|
10083
|
+
"description": "Log out from the current shop.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `HydrogenLogoutResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"loggedOut\": {\n \"type\": \"boolean\",\n \"const\": true\n }\n },\n \"required\": [\n \"status\",\n \"loggedOut\"\n ],\n \"additionalProperties\": false,\n \"title\": \"HydrogenLogoutResult\",\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
9389
10084
|
"flags": {
|
|
9390
10085
|
"json-schema": {
|
|
9391
10086
|
"description": "Print the command's JSON schemas.",
|
|
@@ -9394,6 +10089,38 @@
|
|
|
9394
10089
|
"allowNo": false,
|
|
9395
10090
|
"type": "boolean"
|
|
9396
10091
|
},
|
|
10092
|
+
"no-input": {
|
|
10093
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
10094
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
10095
|
+
"name": "no-input",
|
|
10096
|
+
"allowNo": false,
|
|
10097
|
+
"type": "boolean"
|
|
10098
|
+
},
|
|
10099
|
+
"no-color": {
|
|
10100
|
+
"description": "Disable color output.",
|
|
10101
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
10102
|
+
"hidden": false,
|
|
10103
|
+
"name": "no-color",
|
|
10104
|
+
"allowNo": false,
|
|
10105
|
+
"type": "boolean"
|
|
10106
|
+
},
|
|
10107
|
+
"verbose": {
|
|
10108
|
+
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
10109
|
+
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
10110
|
+
"hidden": false,
|
|
10111
|
+
"name": "verbose",
|
|
10112
|
+
"allowNo": false,
|
|
10113
|
+
"type": "boolean"
|
|
10114
|
+
},
|
|
10115
|
+
"json": {
|
|
10116
|
+
"char": "j",
|
|
10117
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
10118
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
10119
|
+
"hidden": false,
|
|
10120
|
+
"name": "json",
|
|
10121
|
+
"allowNo": false,
|
|
10122
|
+
"type": "boolean"
|
|
10123
|
+
},
|
|
9397
10124
|
"path": {
|
|
9398
10125
|
"description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.",
|
|
9399
10126
|
"env": "SHOPIFY_HYDROGEN_FLAG_PATH",
|
|
@@ -9426,6 +10153,29 @@
|
|
|
9426
10153
|
"allowNo": false,
|
|
9427
10154
|
"type": "boolean"
|
|
9428
10155
|
},
|
|
10156
|
+
"no-input": {
|
|
10157
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
10158
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
10159
|
+
"name": "no-input",
|
|
10160
|
+
"allowNo": false,
|
|
10161
|
+
"type": "boolean"
|
|
10162
|
+
},
|
|
10163
|
+
"no-color": {
|
|
10164
|
+
"description": "Disable color output.",
|
|
10165
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
10166
|
+
"hidden": false,
|
|
10167
|
+
"name": "no-color",
|
|
10168
|
+
"allowNo": false,
|
|
10169
|
+
"type": "boolean"
|
|
10170
|
+
},
|
|
10171
|
+
"verbose": {
|
|
10172
|
+
"description": "Outputs more information about the command's execution.",
|
|
10173
|
+
"env": "SHOPIFY_HYDROGEN_FLAG_VERBOSE",
|
|
10174
|
+
"name": "verbose",
|
|
10175
|
+
"required": false,
|
|
10176
|
+
"allowNo": false,
|
|
10177
|
+
"type": "boolean"
|
|
10178
|
+
},
|
|
9429
10179
|
"path": {
|
|
9430
10180
|
"description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.",
|
|
9431
10181
|
"env": "SHOPIFY_HYDROGEN_FLAG_PATH",
|
|
@@ -9488,14 +10238,6 @@
|
|
|
9488
10238
|
"allowNo": false,
|
|
9489
10239
|
"type": "boolean"
|
|
9490
10240
|
},
|
|
9491
|
-
"verbose": {
|
|
9492
|
-
"description": "Outputs more information about the command's execution.",
|
|
9493
|
-
"env": "SHOPIFY_HYDROGEN_FLAG_VERBOSE",
|
|
9494
|
-
"name": "verbose",
|
|
9495
|
-
"required": false,
|
|
9496
|
-
"allowNo": false,
|
|
9497
|
-
"type": "boolean"
|
|
9498
|
-
},
|
|
9499
10241
|
"build": {
|
|
9500
10242
|
"description": "Builds the app before starting the preview server.",
|
|
9501
10243
|
"name": "build",
|
|
@@ -9558,7 +10300,7 @@
|
|
|
9558
10300
|
"hydrogen:setup": {
|
|
9559
10301
|
"aliases": [],
|
|
9560
10302
|
"args": {},
|
|
9561
|
-
"description": "Scaffold routes and core functionality.",
|
|
10303
|
+
"description": "Scaffold routes and core functionality.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `HydrogenSetupResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"changed\": {\n \"type\": \"boolean\"\n },\n \"directory\": {\n \"type\": \"string\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"i18n\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"enum\": [\n \"subfolders\",\n \"domains\",\n \"subdomains\"\n ]\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"routes\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"sourceRoute\": {\n \"type\": \"string\"\n },\n \"destinationRoute\": {\n \"type\": \"string\"\n },\n \"operation\": {\n \"type\": \"string\",\n \"enum\": [\n \"created\",\n \"skipped\",\n \"replaced\"\n ]\n },\n \"skipReason\": {\n \"type\": \"string\",\n \"enum\": [\n \"declined\",\n \"exists\"\n ]\n }\n },\n \"required\": [\n \"sourceRoute\",\n \"destinationRoute\",\n \"operation\"\n ],\n \"additionalProperties\": false\n }\n },\n \"routeGroups\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"shortcut\": {\n \"type\": \"boolean\"\n }\n },\n \"required\": [\n \"status\",\n \"changed\",\n \"directory\",\n \"name\",\n \"i18n\",\n \"routes\",\n \"routeGroups\",\n \"shortcut\"\n ],\n \"additionalProperties\": false,\n \"title\": \"HydrogenSetupResult\",\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
9562
10304
|
"flags": {
|
|
9563
10305
|
"json-schema": {
|
|
9564
10306
|
"description": "Print the command's JSON schemas.",
|
|
@@ -9567,6 +10309,38 @@
|
|
|
9567
10309
|
"allowNo": false,
|
|
9568
10310
|
"type": "boolean"
|
|
9569
10311
|
},
|
|
10312
|
+
"no-input": {
|
|
10313
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
10314
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
10315
|
+
"name": "no-input",
|
|
10316
|
+
"allowNo": false,
|
|
10317
|
+
"type": "boolean"
|
|
10318
|
+
},
|
|
10319
|
+
"no-color": {
|
|
10320
|
+
"description": "Disable color output.",
|
|
10321
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
10322
|
+
"hidden": false,
|
|
10323
|
+
"name": "no-color",
|
|
10324
|
+
"allowNo": false,
|
|
10325
|
+
"type": "boolean"
|
|
10326
|
+
},
|
|
10327
|
+
"verbose": {
|
|
10328
|
+
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
10329
|
+
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
10330
|
+
"hidden": false,
|
|
10331
|
+
"name": "verbose",
|
|
10332
|
+
"allowNo": false,
|
|
10333
|
+
"type": "boolean"
|
|
10334
|
+
},
|
|
10335
|
+
"json": {
|
|
10336
|
+
"char": "j",
|
|
10337
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
10338
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
10339
|
+
"hidden": false,
|
|
10340
|
+
"name": "json",
|
|
10341
|
+
"allowNo": false,
|
|
10342
|
+
"type": "boolean"
|
|
10343
|
+
},
|
|
9570
10344
|
"path": {
|
|
9571
10345
|
"description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.",
|
|
9572
10346
|
"env": "SHOPIFY_HYDROGEN_FLAG_PATH",
|
|
@@ -9614,12 +10388,13 @@
|
|
|
9614
10388
|
"pluginType": "core",
|
|
9615
10389
|
"strict": true,
|
|
9616
10390
|
"enableJsonFlag": false,
|
|
10391
|
+
"descriptionWithMarkdown": "Scaffold routes and core functionality.",
|
|
9617
10392
|
"customPluginName": "@shopify/cli-hydrogen"
|
|
9618
10393
|
},
|
|
9619
10394
|
"hydrogen:shortcut": {
|
|
9620
10395
|
"aliases": [],
|
|
9621
10396
|
"args": {},
|
|
9622
|
-
"description": "Creates a global
|
|
10397
|
+
"description": "Creates a global h2 shortcut for Shopify CLI using shell aliases.\n\n The following shells are supported:\n\n - Bash (using `~/.bashrc`)\n - ZSH (using `~/.zshrc`)\n - Fish (using `~/.config/fish/functions`)\n - PowerShell (added to `$PROFILE`)\n\n After the alias is created, you can call Shopify CLI from anywhere in your project using `h2 <command>`.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `HydrogenShortcutResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"changed\": {\n \"type\": \"boolean\"\n },\n \"alias\": {\n \"type\": \"string\"\n },\n \"shells\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\",\n \"enum\": [\n \"bash\",\n \"zsh\",\n \"fish\",\n \"powershell\",\n \"powershell-7\",\n \"cmd\"\n ]\n },\n \"minItems\": 1\n }\n },\n \"required\": [\n \"status\",\n \"changed\",\n \"alias\",\n \"shells\"\n ],\n \"additionalProperties\": false,\n \"title\": \"HydrogenShortcutResult\",\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
9623
10398
|
"flags": {
|
|
9624
10399
|
"json-schema": {
|
|
9625
10400
|
"description": "Print the command's JSON schemas.",
|
|
@@ -9627,6 +10402,38 @@
|
|
|
9627
10402
|
"name": "json-schema",
|
|
9628
10403
|
"allowNo": false,
|
|
9629
10404
|
"type": "boolean"
|
|
10405
|
+
},
|
|
10406
|
+
"no-input": {
|
|
10407
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
10408
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
10409
|
+
"name": "no-input",
|
|
10410
|
+
"allowNo": false,
|
|
10411
|
+
"type": "boolean"
|
|
10412
|
+
},
|
|
10413
|
+
"no-color": {
|
|
10414
|
+
"description": "Disable color output.",
|
|
10415
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
10416
|
+
"hidden": false,
|
|
10417
|
+
"name": "no-color",
|
|
10418
|
+
"allowNo": false,
|
|
10419
|
+
"type": "boolean"
|
|
10420
|
+
},
|
|
10421
|
+
"verbose": {
|
|
10422
|
+
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
10423
|
+
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
10424
|
+
"hidden": false,
|
|
10425
|
+
"name": "verbose",
|
|
10426
|
+
"allowNo": false,
|
|
10427
|
+
"type": "boolean"
|
|
10428
|
+
},
|
|
10429
|
+
"json": {
|
|
10430
|
+
"char": "j",
|
|
10431
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
10432
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
10433
|
+
"hidden": false,
|
|
10434
|
+
"name": "json",
|
|
10435
|
+
"allowNo": false,
|
|
10436
|
+
"type": "boolean"
|
|
9630
10437
|
}
|
|
9631
10438
|
},
|
|
9632
10439
|
"hasDynamicHelp": false,
|
|
@@ -9643,7 +10450,7 @@
|
|
|
9643
10450
|
"hydrogen:unlink": {
|
|
9644
10451
|
"aliases": [],
|
|
9645
10452
|
"args": {},
|
|
9646
|
-
"description": "
|
|
10453
|
+
"description": "Unlinks your local development environment from a remote Hydrogen storefront.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `HydrogenUnlinkResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"changed\": {\n \"type\": \"boolean\"\n },\n \"storefront\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"gid\": {\n \"type\": \"string\",\n \"pattern\": \"^gid:\\\\/\\\\/shopify\\\\/HydrogenStorefront\\\\/\\\\d+$\",\n \"description\": \"A Shopify HydrogenStorefront GID.\"\n },\n \"name\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"gid\",\n \"name\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"null\"\n }\n ]\n }\n },\n \"required\": [\n \"status\",\n \"changed\",\n \"storefront\"\n ],\n \"additionalProperties\": false,\n \"title\": \"HydrogenUnlinkResult\",\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
9647
10454
|
"flags": {
|
|
9648
10455
|
"json-schema": {
|
|
9649
10456
|
"description": "Print the command's JSON schemas.",
|
|
@@ -9652,6 +10459,38 @@
|
|
|
9652
10459
|
"allowNo": false,
|
|
9653
10460
|
"type": "boolean"
|
|
9654
10461
|
},
|
|
10462
|
+
"no-input": {
|
|
10463
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
10464
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
10465
|
+
"name": "no-input",
|
|
10466
|
+
"allowNo": false,
|
|
10467
|
+
"type": "boolean"
|
|
10468
|
+
},
|
|
10469
|
+
"no-color": {
|
|
10470
|
+
"description": "Disable color output.",
|
|
10471
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
10472
|
+
"hidden": false,
|
|
10473
|
+
"name": "no-color",
|
|
10474
|
+
"allowNo": false,
|
|
10475
|
+
"type": "boolean"
|
|
10476
|
+
},
|
|
10477
|
+
"verbose": {
|
|
10478
|
+
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
10479
|
+
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
10480
|
+
"hidden": false,
|
|
10481
|
+
"name": "verbose",
|
|
10482
|
+
"allowNo": false,
|
|
10483
|
+
"type": "boolean"
|
|
10484
|
+
},
|
|
10485
|
+
"json": {
|
|
10486
|
+
"char": "j",
|
|
10487
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
10488
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
10489
|
+
"hidden": false,
|
|
10490
|
+
"name": "json",
|
|
10491
|
+
"allowNo": false,
|
|
10492
|
+
"type": "boolean"
|
|
10493
|
+
},
|
|
9655
10494
|
"path": {
|
|
9656
10495
|
"description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.",
|
|
9657
10496
|
"env": "SHOPIFY_HYDROGEN_FLAG_PATH",
|
|
@@ -9675,7 +10514,7 @@
|
|
|
9675
10514
|
"hydrogen:upgrade": {
|
|
9676
10515
|
"aliases": [],
|
|
9677
10516
|
"args": {},
|
|
9678
|
-
"description": "Upgrade
|
|
10517
|
+
"description": "Upgrade Hydrogen project dependencies, preview features, fixes and breaking changes. The command also generates an instruction file for each upgrade.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `HydrogenUpgradeResult` schema.\n\n```json\n{\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"directory\": {\n \"$ref\": \"#/definitions/AbsolutePath\"\n },\n \"previousVersion\": {\n \"type\": \"string\"\n },\n \"version\": {\n \"type\": \"string\"\n },\n \"changed\": {\n \"type\": \"boolean\",\n \"const\": true\n },\n \"packages\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"removedPackages\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"instructionsPath\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/AbsolutePath\"\n },\n {\n \"type\": \"null\"\n }\n ]\n }\n },\n \"required\": [\n \"status\",\n \"directory\",\n \"previousVersion\",\n \"version\",\n \"changed\",\n \"packages\",\n \"removedPackages\",\n \"instructionsPath\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"directory\": {\n \"$ref\": \"#/definitions/AbsolutePath\"\n },\n \"previousVersion\": {\n \"type\": \"string\"\n },\n \"version\": {\n \"type\": \"string\"\n },\n \"changed\": {\n \"type\": \"boolean\",\n \"const\": false\n },\n \"packages\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n },\n \"minItems\": 0,\n \"maxItems\": 0\n },\n \"removedPackages\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n },\n \"minItems\": 0,\n \"maxItems\": 0\n },\n \"instructionsPath\": {\n \"type\": \"null\"\n }\n },\n \"required\": [\n \"status\",\n \"directory\",\n \"previousVersion\",\n \"version\",\n \"changed\",\n \"packages\",\n \"removedPackages\",\n \"instructionsPath\"\n ],\n \"additionalProperties\": false\n }\n ],\n \"title\": \"HydrogenUpgradeResult\",\n \"definitions\": {\n \"AbsolutePath\": {\n \"type\": \"string\"\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
9679
10518
|
"flags": {
|
|
9680
10519
|
"json-schema": {
|
|
9681
10520
|
"description": "Print the command's JSON schemas.",
|
|
@@ -9684,6 +10523,38 @@
|
|
|
9684
10523
|
"allowNo": false,
|
|
9685
10524
|
"type": "boolean"
|
|
9686
10525
|
},
|
|
10526
|
+
"no-input": {
|
|
10527
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
10528
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
10529
|
+
"name": "no-input",
|
|
10530
|
+
"allowNo": false,
|
|
10531
|
+
"type": "boolean"
|
|
10532
|
+
},
|
|
10533
|
+
"no-color": {
|
|
10534
|
+
"description": "Disable color output.",
|
|
10535
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
10536
|
+
"hidden": false,
|
|
10537
|
+
"name": "no-color",
|
|
10538
|
+
"allowNo": false,
|
|
10539
|
+
"type": "boolean"
|
|
10540
|
+
},
|
|
10541
|
+
"verbose": {
|
|
10542
|
+
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
10543
|
+
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
10544
|
+
"hidden": false,
|
|
10545
|
+
"name": "verbose",
|
|
10546
|
+
"allowNo": false,
|
|
10547
|
+
"type": "boolean"
|
|
10548
|
+
},
|
|
10549
|
+
"json": {
|
|
10550
|
+
"char": "j",
|
|
10551
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
10552
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
10553
|
+
"hidden": false,
|
|
10554
|
+
"name": "json",
|
|
10555
|
+
"allowNo": false,
|
|
10556
|
+
"type": "boolean"
|
|
10557
|
+
},
|
|
9687
10558
|
"path": {
|
|
9688
10559
|
"description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.",
|
|
9689
10560
|
"env": "SHOPIFY_HYDROGEN_FLAG_PATH",
|
|
@@ -9724,7 +10595,7 @@
|
|
|
9724
10595
|
"hydrogen:customer-account-push": {
|
|
9725
10596
|
"aliases": [],
|
|
9726
10597
|
"args": {},
|
|
9727
|
-
"description": "Push project configuration to admin",
|
|
10598
|
+
"description": "Push project configuration to admin\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `HydrogenCustomerAccountPushResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"storefrontGid\": {\n \"type\": \"string\",\n \"pattern\": \"^gid:\\\\/\\\\/shopify\\\\/HydrogenStorefront\\\\/\\\\d+$\",\n \"description\": \"A Shopify HydrogenStorefront GID.\"\n },\n \"redirectUri\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"javascriptOrigin\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"logoutUri\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n }\n },\n \"required\": [\n \"storefrontGid\",\n \"redirectUri\",\n \"javascriptOrigin\",\n \"logoutUri\"\n ],\n \"additionalProperties\": false,\n \"title\": \"HydrogenCustomerAccountPushResult\",\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
9728
10599
|
"flags": {
|
|
9729
10600
|
"json-schema": {
|
|
9730
10601
|
"description": "Print the command's JSON schemas.",
|
|
@@ -9733,6 +10604,38 @@
|
|
|
9733
10604
|
"allowNo": false,
|
|
9734
10605
|
"type": "boolean"
|
|
9735
10606
|
},
|
|
10607
|
+
"no-input": {
|
|
10608
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
10609
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
10610
|
+
"name": "no-input",
|
|
10611
|
+
"allowNo": false,
|
|
10612
|
+
"type": "boolean"
|
|
10613
|
+
},
|
|
10614
|
+
"no-color": {
|
|
10615
|
+
"description": "Disable color output.",
|
|
10616
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
10617
|
+
"hidden": false,
|
|
10618
|
+
"name": "no-color",
|
|
10619
|
+
"allowNo": false,
|
|
10620
|
+
"type": "boolean"
|
|
10621
|
+
},
|
|
10622
|
+
"verbose": {
|
|
10623
|
+
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
10624
|
+
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
10625
|
+
"hidden": false,
|
|
10626
|
+
"name": "verbose",
|
|
10627
|
+
"allowNo": false,
|
|
10628
|
+
"type": "boolean"
|
|
10629
|
+
},
|
|
10630
|
+
"json": {
|
|
10631
|
+
"char": "j",
|
|
10632
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
10633
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
10634
|
+
"hidden": false,
|
|
10635
|
+
"name": "json",
|
|
10636
|
+
"allowNo": false,
|
|
10637
|
+
"type": "boolean"
|
|
10638
|
+
},
|
|
9736
10639
|
"path": {
|
|
9737
10640
|
"description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.",
|
|
9738
10641
|
"env": "SHOPIFY_HYDROGEN_FLAG_PATH",
|
|
@@ -9786,6 +10689,7 @@
|
|
|
9786
10689
|
"pluginType": "core",
|
|
9787
10690
|
"strict": true,
|
|
9788
10691
|
"enableJsonFlag": false,
|
|
10692
|
+
"descriptionWithMarkdown": "Push project configuration to admin",
|
|
9789
10693
|
"customPluginName": "@shopify/cli-hydrogen"
|
|
9790
10694
|
},
|
|
9791
10695
|
"hydrogen:debug:cpu": {
|
|
@@ -9800,6 +10704,29 @@
|
|
|
9800
10704
|
"allowNo": false,
|
|
9801
10705
|
"type": "boolean"
|
|
9802
10706
|
},
|
|
10707
|
+
"no-input": {
|
|
10708
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
10709
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
10710
|
+
"name": "no-input",
|
|
10711
|
+
"allowNo": false,
|
|
10712
|
+
"type": "boolean"
|
|
10713
|
+
},
|
|
10714
|
+
"no-color": {
|
|
10715
|
+
"description": "Disable color output.",
|
|
10716
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
10717
|
+
"hidden": false,
|
|
10718
|
+
"name": "no-color",
|
|
10719
|
+
"allowNo": false,
|
|
10720
|
+
"type": "boolean"
|
|
10721
|
+
},
|
|
10722
|
+
"verbose": {
|
|
10723
|
+
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
10724
|
+
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
10725
|
+
"hidden": false,
|
|
10726
|
+
"name": "verbose",
|
|
10727
|
+
"allowNo": false,
|
|
10728
|
+
"type": "boolean"
|
|
10729
|
+
},
|
|
9803
10730
|
"path": {
|
|
9804
10731
|
"description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.",
|
|
9805
10732
|
"env": "SHOPIFY_HYDROGEN_FLAG_PATH",
|
|
@@ -9840,7 +10767,7 @@
|
|
|
9840
10767
|
"hydrogen:env:list": {
|
|
9841
10768
|
"aliases": [],
|
|
9842
10769
|
"args": {},
|
|
9843
|
-
"description": "
|
|
10770
|
+
"description": "Lists all environments available on the linked Hydrogen storefront.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `HydrogenEnvListResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"enum\": [\n \"success\",\n \"cancelled\"\n ]\n },\n \"storefront\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/Storefront\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"environments\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/Environment\"\n }\n }\n },\n \"required\": [\n \"status\",\n \"storefront\",\n \"environments\"\n ],\n \"additionalProperties\": false,\n \"description\": \"The complete environment list for the linked storefront.\",\n \"title\": \"HydrogenEnvListResult\",\n \"definitions\": {\n \"Environment\": {\n \"type\": \"object\",\n \"properties\": {\n \"gid\": {\n \"type\": \"string\",\n \"pattern\": \"^gid:\\\\/\\\\/shopify\\\\/HydrogenStorefrontEnvironment\\\\/\\\\d+$\",\n \"description\": \"A Shopify HydrogenStorefrontEnvironment GID.\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"handle\": {\n \"type\": \"string\"\n },\n \"branch\": {\n \"type\": [\n \"string\",\n \"null\"\n ]\n },\n \"createdAt\": {\n \"type\": \"string\",\n \"format\": \"date-time\"\n },\n \"type\": {\n \"type\": \"string\",\n \"description\": \"Upstream environment type; known values are PREVIEW, PRODUCTION, CUSTOM.\"\n },\n \"url\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n {\n \"type\": \"null\"\n }\n ]\n }\n },\n \"required\": [\n \"gid\",\n \"name\",\n \"handle\",\n \"branch\",\n \"createdAt\",\n \"type\",\n \"url\"\n ],\n \"additionalProperties\": false\n },\n \"Storefront\": {\n \"type\": \"object\",\n \"properties\": {\n \"gid\": {\n \"type\": \"string\",\n \"pattern\": \"^gid:\\\\/\\\\/shopify\\\\/HydrogenStorefront\\\\/\\\\d+$\",\n \"description\": \"A Shopify HydrogenStorefront GID.\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"productionUrl\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n {\n \"type\": \"null\"\n }\n ]\n }\n },\n \"required\": [\n \"gid\",\n \"name\",\n \"productionUrl\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
9844
10771
|
"flags": {
|
|
9845
10772
|
"json-schema": {
|
|
9846
10773
|
"description": "Print the command's JSON schemas.",
|
|
@@ -9849,6 +10776,38 @@
|
|
|
9849
10776
|
"allowNo": false,
|
|
9850
10777
|
"type": "boolean"
|
|
9851
10778
|
},
|
|
10779
|
+
"no-input": {
|
|
10780
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
10781
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
10782
|
+
"name": "no-input",
|
|
10783
|
+
"allowNo": false,
|
|
10784
|
+
"type": "boolean"
|
|
10785
|
+
},
|
|
10786
|
+
"no-color": {
|
|
10787
|
+
"description": "Disable color output.",
|
|
10788
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
10789
|
+
"hidden": false,
|
|
10790
|
+
"name": "no-color",
|
|
10791
|
+
"allowNo": false,
|
|
10792
|
+
"type": "boolean"
|
|
10793
|
+
},
|
|
10794
|
+
"verbose": {
|
|
10795
|
+
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
10796
|
+
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
10797
|
+
"hidden": false,
|
|
10798
|
+
"name": "verbose",
|
|
10799
|
+
"allowNo": false,
|
|
10800
|
+
"type": "boolean"
|
|
10801
|
+
},
|
|
10802
|
+
"json": {
|
|
10803
|
+
"char": "j",
|
|
10804
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
10805
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
10806
|
+
"hidden": false,
|
|
10807
|
+
"name": "json",
|
|
10808
|
+
"allowNo": false,
|
|
10809
|
+
"type": "boolean"
|
|
10810
|
+
},
|
|
9852
10811
|
"path": {
|
|
9853
10812
|
"description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.",
|
|
9854
10813
|
"env": "SHOPIFY_HYDROGEN_FLAG_PATH",
|
|
@@ -9872,7 +10831,7 @@
|
|
|
9872
10831
|
"hydrogen:env:pull": {
|
|
9873
10832
|
"aliases": [],
|
|
9874
10833
|
"args": {},
|
|
9875
|
-
"description": "
|
|
10834
|
+
"description": "Pulls environment variables from the linked Hydrogen storefront and writes them to an `.env` file.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `HydrogenEnvPullResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"enum\": [\n \"success\",\n \"cancelled\"\n ]\n },\n \"changed\": {\n \"type\": \"boolean\"\n },\n \"path\": {\n \"type\": \"string\"\n },\n \"storefrontGid\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"pattern\": \"^gid:\\\\/\\\\/shopify\\\\/HydrogenStorefront\\\\/\\\\d+$\",\n \"description\": \"A Shopify HydrogenStorefront GID.\"\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"A Shopify HydrogenStorefront GID.\"\n },\n \"storefrontName\": {\n \"type\": [\n \"string\",\n \"null\"\n ]\n },\n \"environment\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/Environment\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"variables\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/Variable\"\n }\n }\n },\n \"required\": [\n \"status\",\n \"changed\",\n \"path\",\n \"storefrontGid\",\n \"storefrontName\",\n \"environment\",\n \"variables\"\n ],\n \"additionalProperties\": false,\n \"description\": \"The dotenv file keeps its native format. The result reports variable metadata without values.\",\n \"title\": \"HydrogenEnvPullResult\",\n \"definitions\": {\n \"Environment\": {\n \"type\": \"object\",\n \"properties\": {\n \"gid\": {\n \"type\": \"string\",\n \"pattern\": \"^gid:\\\\/\\\\/shopify\\\\/HydrogenStorefrontEnvironment\\\\/\\\\d+$\",\n \"description\": \"A Shopify HydrogenStorefrontEnvironment GID.\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"handle\": {\n \"type\": \"string\"\n },\n \"branch\": {\n \"type\": [\n \"string\",\n \"null\"\n ]\n },\n \"createdAt\": {\n \"type\": \"string\",\n \"format\": \"date-time\"\n },\n \"type\": {\n \"type\": \"string\",\n \"description\": \"Upstream environment type; known values are PREVIEW, PRODUCTION, CUSTOM.\"\n },\n \"url\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n {\n \"type\": \"null\"\n }\n ]\n }\n },\n \"required\": [\n \"gid\",\n \"name\",\n \"handle\",\n \"branch\",\n \"createdAt\",\n \"type\",\n \"url\"\n ],\n \"additionalProperties\": false\n },\n \"Variable\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"id\": {\n \"type\": \"string\",\n \"pattern\": \"^\\\\d+$\",\n \"description\": \"The decimal HydrogenStorefrontEnvironmentVariable ID, not a GID.\"\n },\n \"isSecret\": {\n \"type\": \"boolean\"\n },\n \"readOnly\": {\n \"type\": \"boolean\"\n }\n },\n \"required\": [\n \"name\"\n ],\n \"additionalProperties\": false,\n \"description\": \"Metadata only: variable spelling is preserved and values are never included. Unknown metadata is omitted.\"\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
9876
10835
|
"flags": {
|
|
9877
10836
|
"json-schema": {
|
|
9878
10837
|
"description": "Print the command's JSON schemas.",
|
|
@@ -9881,6 +10840,38 @@
|
|
|
9881
10840
|
"allowNo": false,
|
|
9882
10841
|
"type": "boolean"
|
|
9883
10842
|
},
|
|
10843
|
+
"no-input": {
|
|
10844
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
10845
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
10846
|
+
"name": "no-input",
|
|
10847
|
+
"allowNo": false,
|
|
10848
|
+
"type": "boolean"
|
|
10849
|
+
},
|
|
10850
|
+
"no-color": {
|
|
10851
|
+
"description": "Disable color output.",
|
|
10852
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
10853
|
+
"hidden": false,
|
|
10854
|
+
"name": "no-color",
|
|
10855
|
+
"allowNo": false,
|
|
10856
|
+
"type": "boolean"
|
|
10857
|
+
},
|
|
10858
|
+
"verbose": {
|
|
10859
|
+
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
10860
|
+
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
10861
|
+
"hidden": false,
|
|
10862
|
+
"name": "verbose",
|
|
10863
|
+
"allowNo": false,
|
|
10864
|
+
"type": "boolean"
|
|
10865
|
+
},
|
|
10866
|
+
"json": {
|
|
10867
|
+
"char": "j",
|
|
10868
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
10869
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
10870
|
+
"hidden": false,
|
|
10871
|
+
"name": "json",
|
|
10872
|
+
"allowNo": false,
|
|
10873
|
+
"type": "boolean"
|
|
10874
|
+
},
|
|
9884
10875
|
"env": {
|
|
9885
10876
|
"description": "Specifies the environment to perform the operation using its handle. Fetch the handle using the `env list` command.",
|
|
9886
10877
|
"exclusive": [
|
|
@@ -9943,7 +10934,7 @@
|
|
|
9943
10934
|
"hydrogen:env:push": {
|
|
9944
10935
|
"aliases": [],
|
|
9945
10936
|
"args": {},
|
|
9946
|
-
"description": "Push environment variables from the local .env file to your linked Hydrogen storefront.",
|
|
10937
|
+
"description": "Push environment variables from the local .env file to your linked Hydrogen storefront.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `HydrogenEnvPushResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"enum\": [\n \"success\",\n \"cancelled\"\n ]\n },\n \"changed\": {\n \"type\": \"boolean\"\n },\n \"wouldChange\": {\n \"type\": \"boolean\",\n \"description\": \"Whether the compared local and remote variables differ, excluding protected variables.\"\n },\n \"dryRun\": {\n \"type\": \"boolean\"\n },\n \"path\": {\n \"type\": \"string\"\n },\n \"environment\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/Environment\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"variables\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/Variable\"\n }\n },\n \"skipped\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/Variable\"\n }\n }\n },\n \"required\": [\n \"status\",\n \"changed\",\n \"wouldChange\",\n \"dryRun\",\n \"path\",\n \"environment\",\n \"variables\",\n \"skipped\"\n ],\n \"additionalProperties\": false,\n \"title\": \"HydrogenEnvPushResult\",\n \"definitions\": {\n \"Environment\": {\n \"type\": \"object\",\n \"properties\": {\n \"gid\": {\n \"type\": \"string\",\n \"pattern\": \"^gid:\\\\/\\\\/shopify\\\\/HydrogenStorefrontEnvironment\\\\/\\\\d+$\",\n \"description\": \"A Shopify HydrogenStorefrontEnvironment GID.\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"handle\": {\n \"type\": \"string\"\n },\n \"branch\": {\n \"type\": [\n \"string\",\n \"null\"\n ]\n },\n \"createdAt\": {\n \"type\": \"string\",\n \"format\": \"date-time\"\n },\n \"type\": {\n \"type\": \"string\",\n \"description\": \"Upstream environment type; known values are PREVIEW, PRODUCTION, CUSTOM.\"\n },\n \"url\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n {\n \"type\": \"null\"\n }\n ]\n }\n },\n \"required\": [\n \"gid\",\n \"name\",\n \"handle\",\n \"branch\",\n \"createdAt\",\n \"type\",\n \"url\"\n ],\n \"additionalProperties\": false\n },\n \"Variable\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"id\": {\n \"type\": \"string\",\n \"pattern\": \"^\\\\d+$\",\n \"description\": \"The decimal HydrogenStorefrontEnvironmentVariable ID, not a GID.\"\n },\n \"isSecret\": {\n \"type\": \"boolean\"\n },\n \"readOnly\": {\n \"type\": \"boolean\"\n }\n },\n \"required\": [\n \"name\"\n ],\n \"additionalProperties\": false,\n \"description\": \"Metadata only: variable spelling is preserved and values are never included. Unknown metadata is omitted.\"\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
9947
10938
|
"flags": {
|
|
9948
10939
|
"json-schema": {
|
|
9949
10940
|
"description": "Print the command's JSON schemas.",
|
|
@@ -9952,6 +10943,38 @@
|
|
|
9952
10943
|
"allowNo": false,
|
|
9953
10944
|
"type": "boolean"
|
|
9954
10945
|
},
|
|
10946
|
+
"no-input": {
|
|
10947
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
10948
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
10949
|
+
"name": "no-input",
|
|
10950
|
+
"allowNo": false,
|
|
10951
|
+
"type": "boolean"
|
|
10952
|
+
},
|
|
10953
|
+
"no-color": {
|
|
10954
|
+
"description": "Disable color output.",
|
|
10955
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
10956
|
+
"hidden": false,
|
|
10957
|
+
"name": "no-color",
|
|
10958
|
+
"allowNo": false,
|
|
10959
|
+
"type": "boolean"
|
|
10960
|
+
},
|
|
10961
|
+
"verbose": {
|
|
10962
|
+
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
10963
|
+
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
10964
|
+
"hidden": false,
|
|
10965
|
+
"name": "verbose",
|
|
10966
|
+
"allowNo": false,
|
|
10967
|
+
"type": "boolean"
|
|
10968
|
+
},
|
|
10969
|
+
"json": {
|
|
10970
|
+
"char": "j",
|
|
10971
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
10972
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
10973
|
+
"hidden": false,
|
|
10974
|
+
"name": "json",
|
|
10975
|
+
"allowNo": false,
|
|
10976
|
+
"type": "boolean"
|
|
10977
|
+
},
|
|
9955
10978
|
"env": {
|
|
9956
10979
|
"description": "Specifies the environment to perform the operation using its handle. Fetch the handle using the `env list` command.",
|
|
9957
10980
|
"exclusive": [
|
|
@@ -10006,6 +11029,7 @@
|
|
|
10006
11029
|
"pluginType": "core",
|
|
10007
11030
|
"strict": true,
|
|
10008
11031
|
"enableJsonFlag": false,
|
|
11032
|
+
"descriptionWithMarkdown": "Push environment variables from the local .env file to your linked Hydrogen storefront.",
|
|
10009
11033
|
"customPluginName": "@shopify/cli-hydrogen"
|
|
10010
11034
|
},
|
|
10011
11035
|
"hydrogen:generate:route": {
|
|
@@ -10031,7 +11055,7 @@
|
|
|
10031
11055
|
"required": true
|
|
10032
11056
|
}
|
|
10033
11057
|
},
|
|
10034
|
-
"description": "Generates a
|
|
11058
|
+
"description": "Generates a set of default routes from the starter template.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `HydrogenGenerateRoutesResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"enum\": [\n \"success\",\n \"skipped\"\n ]\n },\n \"changed\": {\n \"type\": \"boolean\"\n },\n \"routes\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/Route\"\n }\n },\n \"routeGroups\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"isTypescript\": {\n \"type\": \"boolean\"\n }\n },\n \"required\": [\n \"status\",\n \"changed\",\n \"routes\",\n \"routeGroups\",\n \"isTypescript\"\n ],\n \"additionalProperties\": false,\n \"title\": \"HydrogenGenerateRoutesResult\",\n \"definitions\": {\n \"Route\": {\n \"type\": \"object\",\n \"properties\": {\n \"sourceRoute\": {\n \"type\": \"string\"\n },\n \"destinationRoute\": {\n \"type\": \"string\"\n },\n \"operation\": {\n \"type\": \"string\",\n \"enum\": [\n \"created\",\n \"skipped\",\n \"replaced\"\n ]\n },\n \"skipReason\": {\n \"type\": \"string\",\n \"enum\": [\n \"declined\",\n \"exists\"\n ]\n }\n },\n \"required\": [\n \"sourceRoute\",\n \"destinationRoute\",\n \"operation\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
10035
11059
|
"flags": {
|
|
10036
11060
|
"json-schema": {
|
|
10037
11061
|
"description": "Print the command's JSON schemas.",
|
|
@@ -10040,6 +11064,38 @@
|
|
|
10040
11064
|
"allowNo": false,
|
|
10041
11065
|
"type": "boolean"
|
|
10042
11066
|
},
|
|
11067
|
+
"no-input": {
|
|
11068
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
11069
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
11070
|
+
"name": "no-input",
|
|
11071
|
+
"allowNo": false,
|
|
11072
|
+
"type": "boolean"
|
|
11073
|
+
},
|
|
11074
|
+
"no-color": {
|
|
11075
|
+
"description": "Disable color output.",
|
|
11076
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
11077
|
+
"hidden": false,
|
|
11078
|
+
"name": "no-color",
|
|
11079
|
+
"allowNo": false,
|
|
11080
|
+
"type": "boolean"
|
|
11081
|
+
},
|
|
11082
|
+
"verbose": {
|
|
11083
|
+
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
11084
|
+
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
11085
|
+
"hidden": false,
|
|
11086
|
+
"name": "verbose",
|
|
11087
|
+
"allowNo": false,
|
|
11088
|
+
"type": "boolean"
|
|
11089
|
+
},
|
|
11090
|
+
"json": {
|
|
11091
|
+
"char": "j",
|
|
11092
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
11093
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
11094
|
+
"hidden": false,
|
|
11095
|
+
"name": "json",
|
|
11096
|
+
"allowNo": false,
|
|
11097
|
+
"type": "boolean"
|
|
11098
|
+
},
|
|
10043
11099
|
"adapter": {
|
|
10044
11100
|
"description": "React Router adapter used in the route. The default is `react-router`.",
|
|
10045
11101
|
"env": "SHOPIFY_HYDROGEN_FLAG_ADAPTER",
|
|
@@ -10094,7 +11150,7 @@
|
|
|
10094
11150
|
"hydrogen:generate:routes": {
|
|
10095
11151
|
"aliases": [],
|
|
10096
11152
|
"args": {},
|
|
10097
|
-
"description": "Generates all supported standard shopify routes.",
|
|
11153
|
+
"description": "Generates all supported standard shopify routes.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `HydrogenGenerateRoutesResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"enum\": [\n \"success\",\n \"skipped\"\n ]\n },\n \"changed\": {\n \"type\": \"boolean\"\n },\n \"routes\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/Route\"\n }\n },\n \"routeGroups\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"isTypescript\": {\n \"type\": \"boolean\"\n }\n },\n \"required\": [\n \"status\",\n \"changed\",\n \"routes\",\n \"routeGroups\",\n \"isTypescript\"\n ],\n \"additionalProperties\": false,\n \"title\": \"HydrogenGenerateRoutesResult\",\n \"definitions\": {\n \"Route\": {\n \"type\": \"object\",\n \"properties\": {\n \"sourceRoute\": {\n \"type\": \"string\"\n },\n \"destinationRoute\": {\n \"type\": \"string\"\n },\n \"operation\": {\n \"type\": \"string\",\n \"enum\": [\n \"created\",\n \"skipped\",\n \"replaced\"\n ]\n },\n \"skipReason\": {\n \"type\": \"string\",\n \"enum\": [\n \"declined\",\n \"exists\"\n ]\n }\n },\n \"required\": [\n \"sourceRoute\",\n \"destinationRoute\",\n \"operation\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
10098
11154
|
"flags": {
|
|
10099
11155
|
"json-schema": {
|
|
10100
11156
|
"description": "Print the command's JSON schemas.",
|
|
@@ -10103,6 +11159,38 @@
|
|
|
10103
11159
|
"allowNo": false,
|
|
10104
11160
|
"type": "boolean"
|
|
10105
11161
|
},
|
|
11162
|
+
"no-input": {
|
|
11163
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
11164
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
11165
|
+
"name": "no-input",
|
|
11166
|
+
"allowNo": false,
|
|
11167
|
+
"type": "boolean"
|
|
11168
|
+
},
|
|
11169
|
+
"no-color": {
|
|
11170
|
+
"description": "Disable color output.",
|
|
11171
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
11172
|
+
"hidden": false,
|
|
11173
|
+
"name": "no-color",
|
|
11174
|
+
"allowNo": false,
|
|
11175
|
+
"type": "boolean"
|
|
11176
|
+
},
|
|
11177
|
+
"verbose": {
|
|
11178
|
+
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
11179
|
+
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
11180
|
+
"hidden": false,
|
|
11181
|
+
"name": "verbose",
|
|
11182
|
+
"allowNo": false,
|
|
11183
|
+
"type": "boolean"
|
|
11184
|
+
},
|
|
11185
|
+
"json": {
|
|
11186
|
+
"char": "j",
|
|
11187
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
11188
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
11189
|
+
"hidden": false,
|
|
11190
|
+
"name": "json",
|
|
11191
|
+
"allowNo": false,
|
|
11192
|
+
"type": "boolean"
|
|
11193
|
+
},
|
|
10106
11194
|
"adapter": {
|
|
10107
11195
|
"description": "React Router adapter used in the route. The default is `react-router`.",
|
|
10108
11196
|
"env": "SHOPIFY_HYDROGEN_FLAG_ADAPTER",
|
|
@@ -10151,6 +11239,7 @@
|
|
|
10151
11239
|
"pluginType": "core",
|
|
10152
11240
|
"strict": true,
|
|
10153
11241
|
"enableJsonFlag": false,
|
|
11242
|
+
"descriptionWithMarkdown": "Generates all supported standard shopify routes.",
|
|
10154
11243
|
"customPluginName": "@shopify/cli-hydrogen"
|
|
10155
11244
|
},
|
|
10156
11245
|
"hydrogen:setup:css": {
|
|
@@ -10167,7 +11256,7 @@
|
|
|
10167
11256
|
]
|
|
10168
11257
|
}
|
|
10169
11258
|
},
|
|
10170
|
-
"description": "
|
|
11259
|
+
"description": "Adds support for certain CSS strategies to your project.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `HydrogenSetupCssResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"enum\": [\n \"success\",\n \"cancelled\"\n ]\n },\n \"changed\": {\n \"type\": \"boolean\"\n },\n \"directory\": {\n \"$ref\": \"#/definitions/AbsolutePath\"\n },\n \"strategy\": {\n \"type\": \"string\",\n \"enum\": [\n \"tailwind\",\n \"vanilla-extract\",\n \"css-modules\",\n \"postcss\"\n ]\n },\n \"filePaths\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/AbsolutePath\"\n }\n },\n \"dependenciesInstalled\": {\n \"type\": \"boolean\"\n },\n \"needsNpmReinstall\": {\n \"type\": \"boolean\"\n }\n },\n \"required\": [\n \"status\",\n \"changed\",\n \"directory\",\n \"strategy\",\n \"filePaths\",\n \"dependenciesInstalled\",\n \"needsNpmReinstall\"\n ],\n \"additionalProperties\": false,\n \"title\": \"HydrogenSetupCssResult\",\n \"definitions\": {\n \"AbsolutePath\": {\n \"type\": \"string\"\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
10171
11260
|
"flags": {
|
|
10172
11261
|
"json-schema": {
|
|
10173
11262
|
"description": "Print the command's JSON schemas.",
|
|
@@ -10176,6 +11265,38 @@
|
|
|
10176
11265
|
"allowNo": false,
|
|
10177
11266
|
"type": "boolean"
|
|
10178
11267
|
},
|
|
11268
|
+
"no-input": {
|
|
11269
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
11270
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
11271
|
+
"name": "no-input",
|
|
11272
|
+
"allowNo": false,
|
|
11273
|
+
"type": "boolean"
|
|
11274
|
+
},
|
|
11275
|
+
"no-color": {
|
|
11276
|
+
"description": "Disable color output.",
|
|
11277
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
11278
|
+
"hidden": false,
|
|
11279
|
+
"name": "no-color",
|
|
11280
|
+
"allowNo": false,
|
|
11281
|
+
"type": "boolean"
|
|
11282
|
+
},
|
|
11283
|
+
"verbose": {
|
|
11284
|
+
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
11285
|
+
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
11286
|
+
"hidden": false,
|
|
11287
|
+
"name": "verbose",
|
|
11288
|
+
"allowNo": false,
|
|
11289
|
+
"type": "boolean"
|
|
11290
|
+
},
|
|
11291
|
+
"json": {
|
|
11292
|
+
"char": "j",
|
|
11293
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
11294
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
11295
|
+
"hidden": false,
|
|
11296
|
+
"name": "json",
|
|
11297
|
+
"allowNo": false,
|
|
11298
|
+
"type": "boolean"
|
|
11299
|
+
},
|
|
10179
11300
|
"path": {
|
|
10180
11301
|
"description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.",
|
|
10181
11302
|
"env": "SHOPIFY_HYDROGEN_FLAG_PATH",
|
|
@@ -10224,7 +11345,7 @@
|
|
|
10224
11345
|
]
|
|
10225
11346
|
}
|
|
10226
11347
|
},
|
|
10227
|
-
"description": "
|
|
11348
|
+
"description": "Adds support for multiple \"markets\" (https://shopify.dev/docs/custom-storefronts/hydrogen/markets) to your project by using the URL structure.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `HydrogenSetupMarketsResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"changed\": {\n \"type\": \"boolean\",\n \"const\": true\n },\n \"directory\": {\n \"$ref\": \"#/definitions/AbsolutePath\"\n },\n \"strategy\": {\n \"type\": \"string\",\n \"enum\": [\n \"subfolders\",\n \"domains\",\n \"subdomains\"\n ]\n },\n \"serverPath\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/AbsolutePath\"\n },\n {\n \"type\": \"null\"\n }\n ]\n }\n },\n \"required\": [\n \"status\",\n \"changed\",\n \"directory\",\n \"strategy\",\n \"serverPath\"\n ],\n \"additionalProperties\": false,\n \"title\": \"HydrogenSetupMarketsResult\",\n \"definitions\": {\n \"AbsolutePath\": {\n \"type\": \"string\"\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
10228
11349
|
"flags": {
|
|
10229
11350
|
"json-schema": {
|
|
10230
11351
|
"description": "Print the command's JSON schemas.",
|
|
@@ -10233,6 +11354,38 @@
|
|
|
10233
11354
|
"allowNo": false,
|
|
10234
11355
|
"type": "boolean"
|
|
10235
11356
|
},
|
|
11357
|
+
"no-input": {
|
|
11358
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
11359
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
11360
|
+
"name": "no-input",
|
|
11361
|
+
"allowNo": false,
|
|
11362
|
+
"type": "boolean"
|
|
11363
|
+
},
|
|
11364
|
+
"no-color": {
|
|
11365
|
+
"description": "Disable color output.",
|
|
11366
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
11367
|
+
"hidden": false,
|
|
11368
|
+
"name": "no-color",
|
|
11369
|
+
"allowNo": false,
|
|
11370
|
+
"type": "boolean"
|
|
11371
|
+
},
|
|
11372
|
+
"verbose": {
|
|
11373
|
+
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
11374
|
+
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
11375
|
+
"hidden": false,
|
|
11376
|
+
"name": "verbose",
|
|
11377
|
+
"allowNo": false,
|
|
11378
|
+
"type": "boolean"
|
|
11379
|
+
},
|
|
11380
|
+
"json": {
|
|
11381
|
+
"char": "j",
|
|
11382
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
11383
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
11384
|
+
"hidden": false,
|
|
11385
|
+
"name": "json",
|
|
11386
|
+
"allowNo": false,
|
|
11387
|
+
"type": "boolean"
|
|
11388
|
+
},
|
|
10236
11389
|
"path": {
|
|
10237
11390
|
"description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.",
|
|
10238
11391
|
"env": "SHOPIFY_HYDROGEN_FLAG_PATH",
|
|
@@ -10256,7 +11409,7 @@
|
|
|
10256
11409
|
"hydrogen:setup:vite": {
|
|
10257
11410
|
"aliases": [],
|
|
10258
11411
|
"args": {},
|
|
10259
|
-
"description": "EXPERIMENTAL: Upgrades the project to use Vite.",
|
|
11412
|
+
"description": "EXPERIMENTAL: Upgrades the project to use Vite.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `HydrogenSetupViteResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"changed\": {\n \"type\": \"boolean\",\n \"const\": true\n },\n \"directory\": {\n \"$ref\": \"#/definitions/AbsolutePath\"\n },\n \"viteConfigPath\": {\n \"$ref\": \"#/definitions/AbsolutePath\"\n },\n \"serverPath\": {\n \"$ref\": \"#/definitions/AbsolutePath\"\n },\n \"dependenciesInstalled\": {\n \"type\": \"boolean\",\n \"const\": true\n },\n \"needsMdxSetup\": {\n \"type\": \"boolean\"\n }\n },\n \"required\": [\n \"status\",\n \"changed\",\n \"directory\",\n \"viteConfigPath\",\n \"serverPath\",\n \"dependenciesInstalled\",\n \"needsMdxSetup\"\n ],\n \"additionalProperties\": false,\n \"title\": \"HydrogenSetupViteResult\",\n \"definitions\": {\n \"AbsolutePath\": {\n \"type\": \"string\"\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
10260
11413
|
"flags": {
|
|
10261
11414
|
"json-schema": {
|
|
10262
11415
|
"description": "Print the command's JSON schemas.",
|
|
@@ -10265,6 +11418,38 @@
|
|
|
10265
11418
|
"allowNo": false,
|
|
10266
11419
|
"type": "boolean"
|
|
10267
11420
|
},
|
|
11421
|
+
"no-input": {
|
|
11422
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
11423
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
11424
|
+
"name": "no-input",
|
|
11425
|
+
"allowNo": false,
|
|
11426
|
+
"type": "boolean"
|
|
11427
|
+
},
|
|
11428
|
+
"no-color": {
|
|
11429
|
+
"description": "Disable color output.",
|
|
11430
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
11431
|
+
"hidden": false,
|
|
11432
|
+
"name": "no-color",
|
|
11433
|
+
"allowNo": false,
|
|
11434
|
+
"type": "boolean"
|
|
11435
|
+
},
|
|
11436
|
+
"verbose": {
|
|
11437
|
+
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
11438
|
+
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
11439
|
+
"hidden": false,
|
|
11440
|
+
"name": "verbose",
|
|
11441
|
+
"allowNo": false,
|
|
11442
|
+
"type": "boolean"
|
|
11443
|
+
},
|
|
11444
|
+
"json": {
|
|
11445
|
+
"char": "j",
|
|
11446
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
11447
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
11448
|
+
"hidden": false,
|
|
11449
|
+
"name": "json",
|
|
11450
|
+
"allowNo": false,
|
|
11451
|
+
"type": "boolean"
|
|
11452
|
+
},
|
|
10268
11453
|
"path": {
|
|
10269
11454
|
"description": "The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.",
|
|
10270
11455
|
"env": "SHOPIFY_HYDROGEN_FLAG_PATH",
|
|
@@ -10282,6 +11467,7 @@
|
|
|
10282
11467
|
"pluginType": "core",
|
|
10283
11468
|
"strict": true,
|
|
10284
11469
|
"enableJsonFlag": false,
|
|
11470
|
+
"descriptionWithMarkdown": "EXPERIMENTAL: Upgrades the project to use Vite.",
|
|
10285
11471
|
"customPluginName": "@shopify/cli-hydrogen"
|
|
10286
11472
|
},
|
|
10287
11473
|
"store:auth:list": {
|
|
@@ -11102,7 +12288,7 @@
|
|
|
11102
12288
|
"store:execute": {
|
|
11103
12289
|
"aliases": [],
|
|
11104
12290
|
"args": {},
|
|
11105
|
-
"description": "Executes an Admin API GraphQL query or mutation on the specified store using previously stored app authentication.\n\nRun `shopify store auth` first to create stored auth for the store.\n\nMutations are disabled by default. Re-run with `--allow-mutations` if you intend to modify store data.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `StoreExecuteResult` schema.\n\n```json\n{\n \"
|
|
12291
|
+
"description": "Executes an Admin API GraphQL query or mutation on the specified store using previously stored app authentication.\n\nRun `shopify store auth` first to create stored auth for the store.\n\nMutations are disabled by default. Re-run with `--allow-mutations` if you intend to modify store data.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `StoreExecuteResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"data\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"additionalProperties\": {}\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"GraphQL response data, preserving query fields and aliases.\"\n },\n \"extensions\": {\n \"type\": \"object\",\n \"additionalProperties\": {},\n \"description\": \"Response-level GraphQL metadata, when returned by the API.\"\n }\n },\n \"required\": [\n \"data\"\n ],\n \"additionalProperties\": false,\n \"title\": \"StoreExecuteResult\",\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
11106
12292
|
"examples": [
|
|
11107
12293
|
"<%= config.bin %> <%= command.id %> --store shop.myshopify.com --query \"query { shop { name } }\"",
|
|
11108
12294
|
"<%= config.bin %> <%= command.id %> --store shop.myshopify.com --query-file ./operation.graphql --variables '{\"id\":\"gid://shopify/Product/1\"}'",
|
|
@@ -11618,7 +12804,7 @@
|
|
|
11618
12804
|
"upgrade": {
|
|
11619
12805
|
"aliases": [],
|
|
11620
12806
|
"args": {},
|
|
11621
|
-
"description": "Upgrades Shopify CLI using your package manager.",
|
|
12807
|
+
"description": "Upgrades Shopify CLI using your package manager.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `UpgradeResult` schema.\n\n```json\n{\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"changed\": {\n \"type\": \"boolean\",\n \"description\": \"Whether the verified installed version differs from previousVersion.\"\n },\n \"scope\": {\n \"type\": \"string\",\n \"const\": \"global\"\n },\n \"previousVersion\": {\n \"type\": \"string\",\n \"minLength\": 1\n },\n \"version\": {\n \"type\": \"string\",\n \"minLength\": 1\n },\n \"packageManager\": {\n \"type\": \"string\",\n \"enum\": [\n \"npm\",\n \"pnpm\",\n \"yarn\",\n \"bun\",\n \"homebrew\"\n ]\n }\n },\n \"required\": [\n \"status\",\n \"changed\",\n \"scope\",\n \"previousVersion\",\n \"version\",\n \"packageManager\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"success\"\n },\n \"changed\": {\n \"type\": \"null\",\n \"description\": \"Null because local dependency changes and installed versions are not verified.\"\n },\n \"scope\": {\n \"type\": \"string\",\n \"const\": \"local\"\n },\n \"directory\": {\n \"type\": \"string\"\n },\n \"previousVersion\": {\n \"type\": \"string\",\n \"minLength\": 1\n },\n \"availableVersion\": {\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"minLength\": 1\n },\n {\n \"type\": \"null\"\n }\n ],\n \"description\": \"The available registry version, or null when unknown.\"\n },\n \"packages\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\",\n \"minLength\": 1\n }\n }\n },\n \"required\": [\n \"status\",\n \"changed\",\n \"scope\",\n \"directory\",\n \"previousVersion\",\n \"availableVersion\",\n \"packages\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"status\": {\n \"type\": \"string\",\n \"const\": \"skipped\"\n },\n \"reason\": {\n \"type\": \"string\",\n \"enum\": [\n \"development\",\n \"local-autoupgrade\",\n \"dependency-not-found\"\n ]\n },\n \"scope\": {\n \"type\": \"string\",\n \"enum\": [\n \"global\",\n \"local\"\n ]\n }\n },\n \"required\": [\n \"status\",\n \"reason\",\n \"scope\"\n ],\n \"additionalProperties\": false\n }\n ],\n \"title\": \"UpgradeResult\",\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
11622
12808
|
"flags": {
|
|
11623
12809
|
"json-schema": {
|
|
11624
12810
|
"description": "Print the command's JSON schemas.",
|
|
@@ -11626,6 +12812,38 @@
|
|
|
11626
12812
|
"name": "json-schema",
|
|
11627
12813
|
"allowNo": false,
|
|
11628
12814
|
"type": "boolean"
|
|
12815
|
+
},
|
|
12816
|
+
"no-input": {
|
|
12817
|
+
"description": "Disable interactive prompts and browser authentication.",
|
|
12818
|
+
"env": "SHOPIFY_FLAG_NO_INPUT",
|
|
12819
|
+
"name": "no-input",
|
|
12820
|
+
"allowNo": false,
|
|
12821
|
+
"type": "boolean"
|
|
12822
|
+
},
|
|
12823
|
+
"no-color": {
|
|
12824
|
+
"description": "Disable color output.",
|
|
12825
|
+
"env": "SHOPIFY_FLAG_NO_COLOR",
|
|
12826
|
+
"hidden": false,
|
|
12827
|
+
"name": "no-color",
|
|
12828
|
+
"allowNo": false,
|
|
12829
|
+
"type": "boolean"
|
|
12830
|
+
},
|
|
12831
|
+
"verbose": {
|
|
12832
|
+
"description": "Increase the verbosity of the output. May include sensitive data.",
|
|
12833
|
+
"env": "SHOPIFY_FLAG_VERBOSE",
|
|
12834
|
+
"hidden": false,
|
|
12835
|
+
"name": "verbose",
|
|
12836
|
+
"allowNo": false,
|
|
12837
|
+
"type": "boolean"
|
|
12838
|
+
},
|
|
12839
|
+
"json": {
|
|
12840
|
+
"char": "j",
|
|
12841
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
12842
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
12843
|
+
"hidden": false,
|
|
12844
|
+
"name": "json",
|
|
12845
|
+
"allowNo": false,
|
|
12846
|
+
"type": "boolean"
|
|
11629
12847
|
}
|
|
11630
12848
|
},
|
|
11631
12849
|
"hasDynamicHelp": false,
|
|
@@ -12114,11 +13332,12 @@
|
|
|
12114
13332
|
"doc:fetch": {
|
|
12115
13333
|
"aliases": [],
|
|
12116
13334
|
"args": {},
|
|
12117
|
-
"description": "Download a complete document from shopify.dev. Every page on shopify.dev has a Markdown version, and that is what this tool returns. Use this to pull an entire document verbatim — for example, a set of instructions an agent follows like a centrally-served skill. Pass `--language` for the language of the app you are building so code examples match your stack. For finding the relevant pieces of content across shopify.dev instead, use `doc search
|
|
13335
|
+
"description": "Download a complete document from shopify.dev. Every page on shopify.dev has a Markdown version, and that is what this tool returns. Use this to pull an entire document verbatim — for example, a set of instructions an agent follows like a centrally-served skill. Pass `--language` for the language of the app you are building so code examples match your stack. For finding the relevant pieces of content across shopify.dev instead, use `doc search`.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `DocFetchResult` schema.\n\n```json\n{\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"document\": {\n \"$ref\": \"#/definitions/Document\"\n }\n },\n \"required\": [\n \"document\"\n ],\n \"additionalProperties\": false\n },\n {\n \"$ref\": \"#/definitions/DocumentFile\"\n }\n ],\n \"title\": \"DocFetchResult\",\n \"definitions\": {\n \"Document\": {\n \"type\": \"object\",\n \"properties\": {\n \"url\": {\n \"type\": \"string\",\n \"format\": \"uri\",\n \"description\": \"The requested shopify.dev document URL.\"\n },\n \"content\": {\n \"type\": \"string\",\n \"description\": \"The document in Markdown, with the requested language filter applied.\"\n }\n },\n \"required\": [\n \"url\",\n \"content\"\n ],\n \"additionalProperties\": false\n },\n \"DocumentFile\": {\n \"type\": \"object\",\n \"properties\": {\n \"path\": {\n \"type\": \"string\",\n \"pattern\": \"^(?:\\\\/|[A-Za-z]:[\\\\\\\\/]|\\\\\\\\\\\\\\\\)\",\n \"description\": \"The absolute native path of the written file.\"\n },\n \"format\": {\n \"type\": \"string\",\n \"const\": \"markdown\",\n \"description\": \"The file contains the original Markdown document, not a JSON wrapper.\"\n }\n },\n \"required\": [\n \"path\",\n \"format\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
12118
13336
|
"examples": [
|
|
12119
13337
|
"# fetch the Markdown version of a Shopify.dev page\nshopify doc fetch --url https://shopify.dev/docs/api/shopify-cli",
|
|
12120
13338
|
"# filter code examples to the language of the app you are building\nshopify doc fetch --url https://shopify.dev/docs/api/shopify-cli --language ruby",
|
|
12121
|
-
"# save the document to a file instead of printing it\nshopify doc fetch --url https://shopify.dev/docs/api/shopify-cli --output docs/shopify-cli.md"
|
|
13339
|
+
"# save the document to a file instead of printing it\nshopify doc fetch --url https://shopify.dev/docs/api/shopify-cli --output docs/shopify-cli.md",
|
|
13340
|
+
"# return a typed document as JSON\nshopify doc fetch --url https://shopify.dev/docs/api/shopify-cli --json"
|
|
12122
13341
|
],
|
|
12123
13342
|
"flags": {
|
|
12124
13343
|
"json-schema": {
|
|
@@ -12151,6 +13370,15 @@
|
|
|
12151
13370
|
"allowNo": false,
|
|
12152
13371
|
"type": "boolean"
|
|
12153
13372
|
},
|
|
13373
|
+
"json": {
|
|
13374
|
+
"char": "j",
|
|
13375
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
13376
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
13377
|
+
"hidden": false,
|
|
13378
|
+
"name": "json",
|
|
13379
|
+
"allowNo": false,
|
|
13380
|
+
"type": "boolean"
|
|
13381
|
+
},
|
|
12154
13382
|
"url": {
|
|
12155
13383
|
"description": "The shopify.dev URL to fetch.",
|
|
12156
13384
|
"env": "SHOPIFY_FLAG_URL",
|
|
@@ -12181,7 +13409,7 @@
|
|
|
12181
13409
|
"type": "option"
|
|
12182
13410
|
},
|
|
12183
13411
|
"output": {
|
|
12184
|
-
"description": "Write the document to this file path instead of printing it to stdout.",
|
|
13412
|
+
"description": "Write the document to this file path instead of printing it to stdout. With --json, stdout contains the absolute path and Markdown format of the written file.",
|
|
12185
13413
|
"env": "SHOPIFY_FLAG_OUTPUT",
|
|
12186
13414
|
"name": "output",
|
|
12187
13415
|
"hasDynamicHelp": false,
|
|
@@ -12196,14 +13424,16 @@
|
|
|
12196
13424
|
"pluginName": "shopify",
|
|
12197
13425
|
"pluginType": "core",
|
|
12198
13426
|
"strict": true,
|
|
12199
|
-
"enableJsonFlag": false
|
|
13427
|
+
"enableJsonFlag": false,
|
|
13428
|
+
"descriptionWithMarkdown": "Download a complete document from shopify.dev. Every page on shopify.dev has a Markdown version, and that is what this tool returns. Use this to pull an entire document verbatim — for example, a set of instructions an agent follows like a centrally-served skill. Pass `--language` for the language of the app you are building so code examples match your stack. For finding the relevant pieces of content across shopify.dev instead, use `doc search`."
|
|
12200
13429
|
},
|
|
12201
13430
|
"doc:search": {
|
|
12202
13431
|
"aliases": [],
|
|
12203
13432
|
"args": {},
|
|
12204
|
-
"description": "Query the shopify.dev vector store and print the most relevant documentation chunks as JSON. Best for programmatic discovery — surfacing the relevant pieces of documentation for a topic, rather than retrieving a whole document. To download a full document verbatim, use `doc fetch
|
|
13433
|
+
"description": "Query the shopify.dev vector store and print the most relevant documentation chunks as JSON. Best for programmatic discovery — surfacing the relevant pieces of documentation for a topic, rather than retrieving a whole document. To download a full document verbatim, use `doc fetch`.\n\nUse `--json-schema` to print the result, error, and event schemas.\n\nOutput from `--json` conforms to the `DocSearchResult` schema.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"results\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/DocumentationSearchEntry\"\n },\n \"description\": \"The top matching chunks from one search request.\"\n },\n \"pageInfo\": {\n \"$ref\": \"#/definitions/PageInfo\"\n }\n },\n \"required\": [\n \"results\",\n \"pageInfo\"\n ],\n \"additionalProperties\": false,\n \"title\": \"DocSearchResult\",\n \"definitions\": {\n \"DocumentationSearchEntry\": {\n \"type\": \"object\",\n \"properties\": {\n \"score\": {\n \"type\": \"number\",\n \"description\": \"The relevance score returned by shopify.dev.\"\n },\n \"content\": {\n \"type\": \"string\",\n \"description\": \"The matching documentation chunk.\"\n },\n \"url\": {\n \"type\": \"string\",\n \"format\": \"uri\",\n \"description\": \"The URL of the matching document.\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"The title of the matching document.\"\n },\n \"domain\": {\n \"type\": [\n \"string\",\n \"null\"\n ],\n \"description\": \"The documentation domain, or null when unavailable.\"\n }\n },\n \"required\": [\n \"score\",\n \"content\",\n \"url\",\n \"title\",\n \"domain\"\n ],\n \"additionalProperties\": false\n },\n \"PageInfo\": {\n \"type\": \"object\",\n \"properties\": {\n \"hasNextPage\": {\n \"type\": [\n \"boolean\",\n \"null\"\n ],\n \"description\": \"Whether more results are available, or null when unknown.\"\n }\n },\n \"required\": [\n \"hasNextPage\"\n ],\n \"additionalProperties\": false\n }\n },\n \"$schema\": \"http://json-schema.org/draft-07/schema#\"\n}\n```",
|
|
12205
13434
|
"examples": [
|
|
12206
|
-
"# search shopify.dev for a topic\n shopify doc search --query \"subscribe to webhooks\"\n\n # narrow the search to a specific API and version\n shopify doc search --query \"create a product\" --api-name admin --api-version latest
|
|
13435
|
+
"# search shopify.dev for a topic\n shopify doc search --query \"subscribe to webhooks\"\n\n # narrow the search to a specific API and version\n shopify doc search --query \"create a product\" --api-name admin --api-version latest",
|
|
13436
|
+
"# return typed documentation results as a JSON object\nshopify doc search --query \"subscribe to webhooks\" --json"
|
|
12207
13437
|
],
|
|
12208
13438
|
"flags": {
|
|
12209
13439
|
"json-schema": {
|
|
@@ -12236,6 +13466,15 @@
|
|
|
12236
13466
|
"allowNo": false,
|
|
12237
13467
|
"type": "boolean"
|
|
12238
13468
|
},
|
|
13469
|
+
"json": {
|
|
13470
|
+
"char": "j",
|
|
13471
|
+
"description": "Output the result as JSON. Automatically disables color output.",
|
|
13472
|
+
"env": "SHOPIFY_FLAG_JSON",
|
|
13473
|
+
"hidden": false,
|
|
13474
|
+
"name": "json",
|
|
13475
|
+
"allowNo": false,
|
|
13476
|
+
"type": "boolean"
|
|
13477
|
+
},
|
|
12239
13478
|
"query": {
|
|
12240
13479
|
"description": "The search query.",
|
|
12241
13480
|
"env": "SHOPIFY_FLAG_QUERY",
|
|
@@ -12269,7 +13508,8 @@
|
|
|
12269
13508
|
"pluginName": "shopify",
|
|
12270
13509
|
"pluginType": "core",
|
|
12271
13510
|
"strict": true,
|
|
12272
|
-
"enableJsonFlag": false
|
|
13511
|
+
"enableJsonFlag": false,
|
|
13512
|
+
"descriptionWithMarkdown": "Query the shopify.dev vector store and print the most relevant documentation chunks as JSON. Best for programmatic discovery — surfacing the relevant pieces of documentation for a topic, rather than retrieving a whole document. To download a full document verbatim, use `doc fetch`."
|
|
12273
13513
|
},
|
|
12274
13514
|
"docs:generate": {
|
|
12275
13515
|
"aliases": [],
|
|
@@ -12540,5 +13780,5 @@
|
|
|
12540
13780
|
"descriptionWithMarkdown": "Check whether auto-upgrade is enabled, disabled, or not yet configured.\n\n When auto-upgrade is enabled, Shopify CLI automatically updates to the latest version after each command.\n\n Run `shopify config autoupgrade on` or `shopify config autoupgrade off` to configure it.\n"
|
|
12541
13781
|
}
|
|
12542
13782
|
},
|
|
12543
|
-
"version": "
|
|
13783
|
+
"version": "5.0.1"
|
|
12544
13784
|
}
|