@shopify/cli
Version:
A CLI tool to build for the Shopify platform
2 lines (1 loc) • 723 B
JavaScript
import{b as e}from"./chunk-XOTA6JTZ.js";import{r}from"./chunk-LDGAHMS7.js";import{e as c,g as t}from"./chunk-VPRTJUIN.js";t();var s=c(r(),1);var a=class o extends e{static{this.args={command:s.Args.string({description:"Command to show help for.",required:!1})}}static{this.description="Display help for Shopify CLI"}static{this.usage="help [command] [flags]"}static{this.flags={"nested-commands":s.Flags.boolean({char:"n",description:"Include all nested commands in the output.",env:"SHOPIFY_FLAG_CLI_NESTED_COMMANDS",default:!1})}}static{this.strict=!1}async run(){let{argv:i,flags:n}=await this.parse(o),l=await(0,s.loadHelpClass)(this.config);await new l(this.config,{all:n["nested-commands"]}).showHelp(i)}};export{a};