Sha256: cadd37cb7ac78cba4ead27bf2f2e1f46344b97e83b1b48e30a6b6ab69c351139
Contents?: true
Size: 708 Bytes
Versions: 15
Compression:
Stored size: 708 Bytes
Contents
require 'sct/command_interface' require 'sct/command_option' module Sct class YarnCommand IS_PUBLIC_COMMAND = true SYNTAX = 'sct yarn' SUMMARY = 'Run yarn commands through SCT' EXAMPLE = 'sct yarn dev' EXAMPLE_DESCRIPTION = 'sct yarn dev will start the dev installation of the current project' DESCRIPTION = "sct will run yarn commands through the local docker installation" OPTIONS = [ CommandOption.new("--port PORTNUMBER", Integer, "The portnumber on which the server will be deployed") ] def execute(args, options) require "sct/docker/yarn" Sct::Yarn.exec(ARGV[1..(ARGV.length+1)]) end implements CommandInterface end end
Version data entries
15 entries across 15 versions & 1 rubygems