# File lib/nanoc/cli/commands/show-rules.rb, line 15 def run self.require_site @c = Nanoc::CLI::ANSIStringColorizer @calc = self.site.compiler.rule_memory_calculator # TODO explain /foo/ # TODO explain content/foo.html # TODO explain output/foo/index.html self.site.items.each { |i| self.explain_item(i) } self.site.layouts.each { |l| self.explain_layout(l) } end