Class: Fig::Command::Action::DumpPackageDefinitionParsed
Constant Summary
EXIT_FAILURE, EXIT_SUCCESS
Instance Attribute Summary
#execution_context
Instance Method Summary
collapse
#sub_action?
#allow_both_descriptor_and_file?, #apply_base_config?, #base_package_can_come_from_descriptor?, #cares_about_asset_options?, #configure, #execute_immediately_after_command_line_parse?, #list_dependencies?, #list_variables?, #prepare_repository, #primary_option, #publish?, #remote_operation_necessary?, #reset_environment?, #retrieves_should_happen?
Instance Method Details
#apply_config? ⇒ Boolean
35
36
37
|
# File 'lib/fig/command/action/dump_package_definition_parsed.rb', line 35
def apply_config?()
return nil end
|
#descriptor_requirement ⇒ Object
19
20
21
|
# File 'lib/fig/command/action/dump_package_definition_parsed.rb', line 19
def descriptor_requirement()
return nil
end
|
#execute ⇒ Object
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# File 'lib/fig/command/action/dump_package_definition_parsed.rb', line 39
def execute()
if @execution_context.synthetic_package_for_command_line
puts "---- synthetic package for command-line ----\n"
dump_package @execution_context.synthetic_package_for_command_line
puts "\n---- base package ----\n"
end
dump_package @execution_context.base_package
return EXIT_SUCCESS
end
|
#load_base_package? ⇒ Boolean
27
28
29
|
# File 'lib/fig/command/action/dump_package_definition_parsed.rb', line 27
def load_base_package?()
return true
end
|
#modifies_repository? ⇒ Boolean
23
24
25
|
# File 'lib/fig/command/action/dump_package_definition_parsed.rb', line 23
def modifies_repository?()
return false
end
|
#options ⇒ Object
15
16
17
|
# File 'lib/fig/command/action/dump_package_definition_parsed.rb', line 15
def options()
return %w<--dump-package-definition-parsed>
end
|
#register_base_package? ⇒ Boolean
31
32
33
|
# File 'lib/fig/command/action/dump_package_definition_parsed.rb', line 31
def register_base_package?()
return nil end
|