Sha256: bf36b8297c9ac037f63a42a1ab043a7c96d85cf0e83158829cf98332930bf65a
Contents?: true
Size: 374 Bytes
Versions: 7
Compression:
Stored size: 374 Bytes
Contents
# frozen_string_literal: true module Wayfarer module CLI class Generate < Base desc "project NAME", "Generate new project directory NAME" def project(name) @name = name empty_directory name template "Gemfile.tt", "#{name}/Gemfile" template "job.rb.tt", "#{name}/app/jobs/#{name}.rb" end end end end
Version data entries
7 entries across 7 versions & 1 rubygems