Sha256: 0024286a4de2df2b49d95110ce36e61ded476eeab2952d73ce8fcf09be6ae34d
Contents?: true
Size: 887 Bytes
Versions: 17
Compression:
Stored size: 887 Bytes
Contents
module Takelage # semantic version number VERSION = (File.read "#{File.dirname(__FILE__)}/../version").chomp # takelage self class Self < SubCommandBase include LoggingModule include SelfModule desc 'config [COMMAND]', 'Manage takelage configuration' subcommand 'config', SelfConfig # # self list # desc 'list', 'List all commands' long_desc <<-LONGDESC.gsub("\n", "\x5") List all commands LONGDESC # List all commands. def list list = self_list exit false if list == false say list true end # # self version # desc 'version', 'Print takelage semantic version number' long_desc <<-LONGDESC.gsub("\n", "\x5") Print takelage semantic version number LONGDESC # Print takelage semantic version number. def version say VERSION true end end end
Version data entries
17 entries across 17 versions & 1 rubygems