Module: Fig::Command::Action::Role::ListDependenciesInATree
- Included in:
- ListDependencies::Tree, ListDependencies::TreeAllConfigs
- Defined in:
- lib/fig/command/action/role/list_dependencies_in_a_tree.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/fig/command/action/role/list_dependencies_in_a_tree.rb', line 11 def execute() walk_dependency_tree( @execution_context.base_package, base_display_config_names() ) do |package, config_name, depth| print ' ' * (depth * 4) puts package.to_s_with_config(config_name) end return Fig::Command::Action::EXIT_SUCCESS end |