Class: Templatron::ListCommand
- Inherits:
-
AbstractCommand
- Object
- Clamp::Command
- AbstractCommand
- Templatron::ListCommand
- Defined in:
- lib/templatron/cli.rb
Overview
Use to list the template dir
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
26 27 28 29 30 31 |
# File 'lib/templatron/cli.rb', line 26 def execute col = Collector.new(subpath, all?, false, verbose?) entries = col.list entries.each { |e| puts e.sub(col.full_path, '') } end |