Class: Tetra::GenerateKitSubcommand
- Inherits:
 - 
      Subcommand
      
        
- Object
 - Clamp::Command
 - Subcommand
 - Tetra::GenerateKitSubcommand
 
 
- Defined in:
 - lib/tetra/ui/generate_kit_subcommand.rb
 
Overview
tetra generate-kit
Instance Method Summary collapse
Methods inherited from Subcommand
#bypass_parsing, #checking_exceptions, #configure_log_level, #ensure_dry_running, #format_path, #print_generation_result, #verbose=, #very_verbose=, #very_very_verbose=
Methods included from Logging
Instance Method Details
#execute ⇒ Object
      6 7 8 9 10 11 12 13 14 15 16 17 18  | 
    
      # File 'lib/tetra/ui/generate_kit_subcommand.rb', line 6 def execute checking_exceptions do project = Tetra::Project.new(".") ensure_dry_running(:has_finished, project) do kit = Tetra::KitPackage.new(project) result_path, conflict_count = kit.to_spec print_generation_result(project, result_path, conflict_count) result_path = project.archive_kit print_generation_result(project, result_path) end end end  |