Sha256: 2ae4f5ec0c2c82c5c92796fffe8778720519baaa074c0b68331395f300c13c23
Contents?: true
Size: 1.22 KB
Versions: 8
Compression:
Stored size: 1.22 KB
Contents
# Author:: Eric Crane (mailto:eric.crane@mac.com) # Copyright:: Copyright (c) 2019 Eric Crane. All rights reserved. # # Show the current application version. # module Gloo module Verbs class Version < Gloo::Core::Verb KEYWORD = 'version'.freeze KEYWORD_SHORT = 'v'.freeze # # Run the verb. # def run $log.show Gloo::App::Info.display_title end # # Get the Verb's keyword. # def self.keyword return KEYWORD end # # Get the Verb's keyword shortcut. # def self.keyword_shortcut return KEYWORD_SHORT end # --------------------------------------------------------------------- # Help # --------------------------------------------------------------------- # # Get help for this verb. # def self.help return <<~TEXT VERSION VERB NAME: version SHORTCUT: v DESCRIPTION Show the application version information. SYNTAX version PARAMETERS None RESULT None ERRORS None TEXT end end end end
Version data entries
8 entries across 8 versions & 1 rubygems