Class: Milestoner::CLI::Commands::Build
- Inherits:
-
Sod::Command
- Object
- Sod::Command
- Milestoner::CLI::Commands::Build
- Defined in:
- lib/milestoner/cli/commands/build.rb
Overview
Handles the building of different milestone formats.
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/milestoner/cli/commands/build.rb', line 27 def call format = settings.build_format log_info "Building #{settings.project_label} (#{format})..." if infused_keys.include? format.to_sym __send__(format).call else logger.abort "Invalid build format: #{format}." end end |