Sha256: 35df8ab41e1f136bf819265af69418f43e33042a71740de22101ce08e6d101f5

Contents?: true

Size: 1 KB

Versions: 13

Compression:

Stored size: 1 KB

Contents

# frozen_string_literal: true

module Script
  class Project < ShopifyCLI::ProjectType
    hidden_feature(feature_set: :script_project)

    require Project.project_filepath("messages/messages")
    register_messages(Script::Messages::MESSAGES)
  end

  # define/autoload project specific Commands
  class Command < ShopifyCLI::Command::ProjectCommand
    hidden_feature(feature_set: :script_project)
    subcommand :Create, "create", Project.project_filepath("commands/create")
    subcommand :Push, "push", Project.project_filepath("commands/push")
    subcommand :Connect, "connect", Project.project_filepath("commands/connect")
    subcommand :Javy, "javy", Project.project_filepath("commands/javy")
  end
  ShopifyCLI::Commands.register("Script::Command", "script")

  module Loaders
    autoload :Project, Script::Project.project_filepath("loaders/project")
    autoload :SpecificationHandler, Script::Project.project_filepath("loaders/specification_handler")
  end

  class ScriptProjectError < StandardError; end
end

Version data entries

13 entries across 13 versions & 1 rubygems

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