Sha256: 0e860190de629d240a76cd37cc92e03e9616cb729c3c9d286fe8554efb82b03f

Contents?: true

Size: 1.07 KB

Versions: 9

Compression:

Stored size: 1.07 KB

Contents

# frozen_string_literal: true
module Node
  class Project < ShopifyCli::ProjectType
    require Project.project_filepath("messages/messages")
    register_messages(Node::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("Node::Command", "node")

  # define/autoload project specific Tasks
  module Tasks
  end

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

Version data entries

9 entries across 9 versions & 1 rubygems

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