module AIPP module NOTAM class Runner < AIPP::Runner def effective_at AIPP.options.effective_at end def expiration_at effective_at.end_of_day.round - 1 end def run info("NOTAM effective #{effective_at}", color: :green) read_config read_region read_parsers parse_sections validate_aixm write_aixm(AIPP.options.output_file || output_file) write_config end end end end