Sha256: 7869af99dda34e352006e30d56d362bde670afd35c3331ecb760fa80734b0652

Contents?: true

Size: 1.25 KB

Versions: 8

Compression:

Stored size: 1.25 KB

Contents

# frozen_string_literal: true
module Theme
  class Project < ShopifyCli::ProjectType
    require Project.project_filepath("messages/messages")
    register_messages(Theme::Messages::MESSAGES)
  end

  class Command < ShopifyCli::ProjectCommands
    subcommand :Init, "init", Project.project_filepath("commands/init")
    subcommand :Serve, "serve", Project.project_filepath("commands/serve")
    subcommand :Pull, "pull", Project.project_filepath("commands/pull")
    subcommand :Push, "push", Project.project_filepath("commands/push")
    subcommand :Delete, "delete", Project.project_filepath("commands/delete")
    subcommand :Check, "check", Project.project_filepath("commands/check")
    subcommand :Publish, "publish", Project.project_filepath("commands/publish")
    subcommand :Package, "package", Project.project_filepath("commands/package")
    subcommand :LanguageServer, "language-server", Project.project_filepath("commands/language_server")
  end
  ShopifyCli::Commands.register("Theme::Command", "theme")

  module Forms
    autoload :ConfirmStore, Project.project_filepath("forms/confirm_store")
    autoload :Select, Project.project_filepath("forms/select")
  end

  module UI
    autoload :SyncProgressBar, Project.project_filepath("ui/sync_progress_bar")
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
shopify-cli-2.4.0 lib/project_types/theme/cli.rb
shopify-cli-2.3.0 lib/project_types/theme/cli.rb
shopify-cli-2.2.2 lib/project_types/theme/cli.rb
shopify-cli-2.2.1 lib/project_types/theme/cli.rb
shopify-cli-2.2.0 lib/project_types/theme/cli.rb
shopify-cli-2.1.0 lib/project_types/theme/cli.rb
shopify-cli-2.0.2 lib/project_types/theme/cli.rb
shopify-cli-2.0.1 lib/project_types/theme/cli.rb