Sha256: 1b6f7ad1880ba829539f475a0dd343f03f7b58f1ff03697ef88a6d553f821cf9

Contents?: true

Size: 1.35 KB

Versions: 18

Compression:

Stored size: 1.35 KB

Contents

# frozen_string_literal: true
module Node
  class Project < ShopifyCli::ProjectType
    creator 'Node.js App', 'Node::Commands::Create'

    register_command('Node::Commands::Deploy', "deploy")
    register_command('Node::Commands::Generate', "generate")
    register_command('Node::Commands::Open', "open")
    register_command('Node::Commands::Populate', "populate")
    register_command('Node::Commands::Serve', "serve")
    register_command('Node::Commands::Tunnel', "tunnel")
    # register_task('Node::Tasks::NodeTask', 'node_task')

    require Project.project_filepath('messages/messages')
    register_messages(Node::Messages::MESSAGES)
  end

  # define/autoload project specific Commands
  module Commands
    autoload :Create, Project.project_filepath('commands/create')
    autoload :Deploy, Project.project_filepath('commands/deploy')
    autoload :Generate, Project.project_filepath('commands/generate')
    autoload :Open, Project.project_filepath('commands/open')
    autoload :Populate, Project.project_filepath('commands/populate')
    autoload :Serve, Project.project_filepath('commands/serve')
    autoload :Tunnel, Project.project_filepath('commands/tunnel')
  end

  # 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

18 entries across 18 versions & 1 rubygems

Version Path
shopify-cli-1.4.1 lib/project_types/node/cli.rb
shopify-cli-1.4.0 lib/project_types/node/cli.rb
shopify-cli-1.3.1 lib/project_types/node/cli.rb
shopify-cli-1.3.0 lib/project_types/node/cli.rb
shopify-cli-1.2.0 lib/project_types/node/cli.rb
shopify-cli-1.1.2 lib/project_types/node/cli.rb
shopify-cli-1.1.1 lib/project_types/node/cli.rb
shopify-cli-1.1.0 lib/project_types/node/cli.rb
shopify-cli-1.0.5 lib/project_types/node/cli.rb
shopify-cli-1.0.4 lib/project_types/node/cli.rb
shopify-cli-1.0.3 lib/project_types/node/cli.rb
shopify-cli-1.0.2 lib/project_types/node/cli.rb
shopify-cli-1.0.1 lib/project_types/node/cli.rb
shopify-cli-1.0.0 lib/project_types/node/cli.rb
shopify-cli-0.9.3 lib/project_types/node/cli.rb
shopify-cli-0.9.2 lib/project_types/node/cli.rb
shopify-cli-0.9.1 lib/project_types/node/cli.rb
shopify-cli-0.9.0 lib/project_types/node/cli.rb