Class: Fig::Command::Action::ListDependencies::Default

Inherits:
Object
  • Object
show all
Includes:
Fig::Command::Action, Role::ListBaseConfig, Role::ListDependenciesFlat, Role::ListWalkingDependencyTree
Defined in:
lib/fig/command/action/list_dependencies/default.rb

Constant Summary

Constants included from Fig::Command::Action

EXIT_FAILURE, EXIT_SUCCESS

Instance Attribute Summary

Attributes included from Fig::Command::Action

#execution_context

Instance Method Summary collapse

Methods included from Role::ListWalkingDependencyTree

#configure, #gather_package_dependency_configurations, #modifies_repository?, #walk_dependency_tree

Methods included from Role::ListDependenciesFlat

#execute

Methods included from Role::ListBaseConfig

#base_display_config_names, #list_all_configs?

Methods included from Fig::Command::Action

#allow_both_descriptor_and_file?, #apply_base_config?, #base_package_can_come_from_descriptor?, #cares_about_asset_options?, #configure, #execute, #execute_immediately_after_command_line_parse?, #list_dependencies?, #list_variables?, #modifies_repository?, #prepare_repository, #primary_option, #publish?, #remote_operation_necessary?, #reset_environment?, #retrieves_should_happen?

Instance Method Details

#apply_config?Boolean

Returns:

  • (Boolean)


35
36
37
# File 'lib/fig/command/action/list_dependencies/default.rb', line 35

def apply_config?
  return nil # don't care
end

#derive_package_strings(packages) ⇒ Object



39
40
41
# File 'lib/fig/command/action/list_dependencies/default.rb', line 39

def derive_package_strings(packages)
  return packages.keys
end

#descriptor_requirementObject



23
24
25
# File 'lib/fig/command/action/list_dependencies/default.rb', line 23

def descriptor_requirement()
  return nil
end

#load_base_package?Boolean

Returns:

  • (Boolean)


27
28
29
# File 'lib/fig/command/action/list_dependencies/default.rb', line 27

def load_base_package?()
  return true
end

#optionsObject



19
20
21
# File 'lib/fig/command/action/list_dependencies/default.rb', line 19

def options()
  return %w<--list-dependencies>
end

#register_base_package?Boolean

Returns:

  • (Boolean)


31
32
33
# File 'lib/fig/command/action/list_dependencies/default.rb', line 31

def register_base_package?()
  return nil # don't care
end