Sha256: 8bebc19f3a9de3f156f6ad8db1385c1a60d5735cb26de1c85d542e7bb3645fc8
Contents?: true
Size: 941 Bytes
Versions: 87
Compression:
Stored size: 941 Bytes
Contents
# frozen_string_literal: true module Takeltau # semantic version number VERSION = (File.read "#{File.dirname(__FILE__)}/../version").chomp # tau self class Self < SubCommandBase include LoggingModule include SelfCommands desc 'config [COMMAND]', 'Manage takeltau configuration' subcommand 'config', SelfConfig # # self commands # desc 'commands', 'List all commands' long_desc <<-LONGDESC.gsub("\n", "\x5") List all commands LONGDESC # List all commands. def commands commands = self_commands exit false if commands == false say commands true end # # self version # desc 'version', 'Print takeltau semantic version number' long_desc <<-LONGDESC.gsub("\n", "\x5") Print takeltau semantic version number LONGDESC # Print takeltau semantic version number. def version say VERSION true end end end
Version data entries
87 entries across 87 versions & 1 rubygems