Sha256: b44f2493d99c31665d1c987c2cff55549666b1a1af72b5dc310c2e66a9874812
Contents?: true
Size: 914 Bytes
Versions: 61
Compression:
Stored size: 914 Bytes
Contents
# frozen_string_literal: true module Takelage # semantic version number VERSION = (File.read "#{File.dirname(__FILE__)}/../version").chomp # takelage self class Self < SubCommandBase include LoggingModule include SelfList 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
61 entries across 61 versions & 1 rubygems