Sha256: 6fc6cd92f745d4d0338044cba7315239d43c4adbdbe47a4fa7ecc77567cbe3d0

Contents?: true

Size: 1.47 KB

Versions: 11

Compression:

Stored size: 1.47 KB

Contents

# frozen_string_literal: true

module Theme
  class Project < ShopifyCLI::ProjectType
    require Project.project_filepath("messages/messages")
    register_messages(Theme::Messages.all)
  end

  class Command < ShopifyCLI::Command::ProjectCommand
    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 :Open, "open", Project.project_filepath("commands/open")
    subcommand :List, "list", Project.project_filepath("commands/list")
    subcommand :Share, "share", Project.project_filepath("commands/share")
    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

11 entries across 11 versions & 1 rubygems

Version Path
shopify-cli-2.36.0 lib/project_types/theme/cli.rb
shopify-cli-2.35.0 lib/project_types/theme/cli.rb
shopify-cli-2.34.0 lib/project_types/theme/cli.rb
shopify-cli-2.33.1 lib/project_types/theme/cli.rb
shopify-cli-2.33.0 lib/project_types/theme/cli.rb
shopify-cli-2.32.1 lib/project_types/theme/cli.rb
shopify-cli-2.32.0 lib/project_types/theme/cli.rb
shopify-cli-2.31.0 lib/project_types/theme/cli.rb
shopify-cli-2.30.0 lib/project_types/theme/cli.rb
shopify-cli-2.29.0 lib/project_types/theme/cli.rb
shopify-cli-2.28.0 lib/project_types/theme/cli.rb