48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
# File 'fastlane/lib/fastlane/documentation/actions_list.rb', line 48
def self.show_details(filter: nil)
puts("Loading documentation for #{filter}:".green)
puts("")
action = find_action_named(filter)
if action
unless action < Action
UI.user_error!(action_subclass_error(filter))
end
print_summary(action, filter)
print_options(action, filter)
print_output_variables(action, filter)
print_return_value(action, filter)
if Fastlane::Actions.is_deprecated?(action)
puts("==========================================".deprecated)
puts("This action (#{filter}) is deprecated".deprecated)
puts(action.deprecated_notes.to_s.remove_markdown.deprecated) if action.deprecated_notes
puts("==========================================\n".deprecated)
end
puts("More information can be found on https://docs.fastlane.tools/actions/#{filter}")
puts("")
else
puts("Couldn't find action for the given filter.".red)
puts("==========================================\n".red)
print_all print_suggestions(filter)
end
end
|