Sha256: 8f7a9fbb2d8276471327c302254905fd72a12cd3b4e48a04573c8d5045c7bacd
Contents?: true
Size: 1.17 KB
Versions: 9
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
9 entries across 9 versions & 1 rubygems