Sha256: efb449833ce99c2229f8f3b943907f635bed4858004eef530c9b258b5439e476

Contents?: true

Size: 514 Bytes

Versions: 13

Compression:

Stored size: 514 Bytes

Contents

require 'fig/command/action'

module  Fig; end
class   Fig::Command; end
module  Fig::Command::Action; end
module  Fig::Command::Action::Role; end

module Fig::Command::Action::Role::ListDependenciesInATree
  def execute()
    walk_dependency_tree(
      @execution_context.base_package, base_display_config_names(), nil, 0
    ) do
      |package, config_name, depth|

      print ' ' * (depth * 4)
      puts package.to_s_with_config(config_name)
    end

    return Fig::Command::Action::EXIT_SUCCESS
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
fig-1.0.0 lib/fig/command/action/role/list_dependencies_in_a_tree.rb
fig-0.2.5 lib/fig/command/action/role/list_dependencies_in_a_tree.rb
fig-0.2.3 lib/fig/command/action/role/list_dependencies_in_a_tree.rb
fig-0.2.1 lib/fig/command/action/role/list_dependencies_in_a_tree.rb
fig-0.1.81 lib/fig/command/action/role/list_dependencies_in_a_tree.rb
fig-0.1.79 lib/fig/command/action/role/list_dependencies_in_a_tree.rb
fig-0.1.77 lib/fig/command/action/role/list_dependencies_in_a_tree.rb
fig-0.1.76 lib/fig/command/action/role/list_dependencies_in_a_tree.rb
fig-0.1.75 lib/fig/command/action/role/list_dependencies_in_a_tree.rb
fig-0.1.73 lib/fig/command/action/role/list_dependencies_in_a_tree.rb
fig-0.1.71 lib/fig/command/action/role/list_dependencies_in_a_tree.rb
fig-0.1.69 lib/fig/command/action/role/list_dependencies_in_a_tree.rb
fig-0.1.67 lib/fig/command/action/role/list_dependencies_in_a_tree.rb