Sha256: 3133838f6989edf596863be6c0da08251baa40c315bd5d0bf8bc0679718b4a8c
Contents?: true
Size: 434 Bytes
Versions: 3
Compression:
Stored size: 434 Bytes
Contents
# frozen_string_literal: true module KStarter module Starters # Generate command line for a new ruby gem project. class Rails attr_reader :data def initialize(data) @data = data end def execute script end private def script <<-BASH cd #{data.root_path} npx degit sveltejs/template #{data.name} BASH end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
k_starter-0.1.3 | lib/k_starter/starters/rails.rb |
k_starter-0.1.2 | lib/k_starter/starters/rails.rb |
k_starter-0.1.1 | lib/k_starter/starters/rails.rb |