Class: ApipieDiff::MainCmd
- Inherits:
-
Clamp::Command
- Object
- Clamp::Command
- ApipieDiff::MainCmd
- Defined in:
- lib/apipie_diff/main_cmd.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
15 16 17 18 19 20 21 22 |
# File 'lib/apipie_diff/main_cmd.rb', line 15 def execute right_resources = normalize_docs(left_file_path, load_doc(left_file_path)) left_resources = normalize_docs(right_file_path, load_doc(right_file_path)) actions_stats = print_diff(left_resources, right_resources) print_stats(left_resources, right_resources, actions_stats) if stats? return 0 end |