Sha256: 51919d66b7f17429f94a387843b9a333f302241a4c2af33be630c5edb1f5a272

Contents?: true

Size: 1.17 KB

Versions: 8

Compression:

Stored size: 1.17 KB

Contents

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

  # define/autoload project specific Commands
  class Command < ShopifyCLI::ProjectCommands
    subcommand :Connect, "connect", Project.project_filepath("commands/connect")
    subcommand :Create, "create", Project.project_filepath("commands/create")
    subcommand :Deploy, "deploy", Project.project_filepath("commands/deploy")
    subcommand :Generate, "generate", Project.project_filepath("commands/generate")
    subcommand :Open, "open", Project.project_filepath("commands/open")
    subcommand :Serve, "serve", Project.project_filepath("commands/serve")
    subcommand :Tunnel, "tunnel", Project.project_filepath("commands/tunnel")
  end
  ShopifyCLI::Commands.register("Rails::Command", "rails")

  # define/autoload project specific Tasks
  module Tasks
  end

  # define/autoload project specific Forms
  module Forms
    autoload :Create, Project.project_filepath("forms/create")
  end

  autoload :Ruby, Project.project_filepath("ruby")
  autoload :Gem, Project.project_filepath("gem")
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
shopify-cli-2.6.6 lib/project_types/rails/cli.rb
shopify-cli-2.6.5 lib/project_types/rails/cli.rb
shopify-cli-2.6.4 lib/project_types/rails/cli.rb
shopify-cli-2.6.3 lib/project_types/rails/cli.rb
shopify-cli-2.6.2 lib/project_types/rails/cli.rb
shopify-cli-2.6.1 lib/project_types/rails/cli.rb
shopify-cli-2.6.0 lib/project_types/rails/cli.rb
shopify-cli-2.5.0 lib/project_types/rails/cli.rb