Sha256: 884548d95f376217563546dcf1968bd162fd600f030711200a137347d7b96756
Contents?: true
Size: 814 Bytes
Versions: 11
Compression:
Stored size: 814 Bytes
Contents
# frozen_string_literal: true module Takeltau # tau ship info class ShipInfo < SubCommandBase include LoggingModule include SystemModule include ConfigModule include DockerCheckDaemon include ShipContainerLib include ShipInfoLib # # ship info json # desc 'json', 'Print json takelship info' long_desc <<-LONGDESC.gsub("\n", "\x5") Print json takelship info LONGDESC # Print json takelship info. def json say _ship_info_lib_get_takelshipinfo.to_json end # # ship info yaml # desc 'yaml', 'Print yaml takelship info' long_desc <<-LONGDESC.gsub("\n", "\x5") Print yaml takelship info LONGDESC # Print yaml takelship info. def yaml say _ship_info_lib_get_takelshipinfo.to_yaml end end end
Version data entries
11 entries across 11 versions & 1 rubygems