class Templatron::ListCommand

Use to list the template dir

Public Instance Methods

execute() click to toggle source
# File lib/templatron/cli.rb, line 25
def execute
  col = Collector.new(subpath, all?, false, verbose?)
  entries = col.list

  entries.each { |e| puts e.sub(col.full_path, '') }
end