Sha256: 9dadf5587b69369c573aeb8824255b87ef2afb424f9048a007447b142aad754f
Contents?: true
Size: 393 Bytes
Versions: 5
Compression:
Stored size: 393 Bytes
Contents
require 'thor' require 'active_support/all' require_relative 'partial_generator' module Taza class FlowGenerator < PartialGenerator desc "This will generate your Taza flow. Example: taza flow checkout foo" def flow partial end private def create_partial template('templates/flow/flow.rb.tt', "lib/sites/#{name}/flows/#{partial_name}.rb") end end end
Version data entries
5 entries across 5 versions & 1 rubygems