Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ThemeCmd is the main entry point to the theme kit command line interface. ThemeCmd = &cobra.Command{ Use: "theme", Short: "Theme Kit is deprecated, use Shopify CLI", Long: deprecationMessage, SilenceUsage: true, SilenceErrors: true, PersistentPreRun: func(cmd *cobra.Command, args []string) { colors.ColorStdOut.Println(colors.Yellow(deprecationMessage)) }, PersistentPostRun: func(cmd *cobra.Command, args []string) { if flags.ThemeID == "" { flags.ThemeID = "1337" } cmdutil.ForDefaultClient(flags, args, func(ctx *cmdutil.Ctx) error { if !flags.DisableThemeKitAccessNotifier && !util.IsThemeAccessPassword(ctx.Env.Password) { colors.ColorStdOut.Print(colors.Yellow("* Build themes without private apps. Learn more about the Theme Access app: https://shopify.dev/themes/tools/theme-access")) } return nil }) }, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.