Class: Nanoc::CLI::Commands::ShowData
- Inherits:
-
Nanoc::CLI::CommandRunner
- Object
- Cri::CommandRunner
- Nanoc::CLI::CommandRunner
- Nanoc::CLI::Commands::ShowData
- Defined in:
- lib/nanoc/cli/commands/show-data.rb
Instance Method Summary (collapse)
Methods inherited from Nanoc::CLI::CommandRunner
#call, call, #debug?, #in_site_dir?, #load_site, #require_site, #site
Instance Method Details
- (Object) run
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/nanoc/cli/commands/show-data.rb', line 13 def run load_site # Get data items = site.items layouts = site.layouts # Get dependency tracker compiler = site.compiler compiler.load dependency_tracker = compiler.dependency_tracker # Print data print_item_dependencies(items, dependency_tracker) print_item_rep_paths(items) print_item_rep_outdatedness(items, compiler) print_layouts(layouts, compiler) end |