Sha256: 06d5c99f29d43400cc41e6ef1ba26b767eeba0ec2a655ce1d3ca18b2a1040a10
Contents?: true
Size: 713 Bytes
Versions: 1
Compression:
Stored size: 713 Bytes
Contents
# frozen_string_literal: true require "thor" module Archangel ## # Command line # module Commands ## # Generate Archangel extension # class BaseCommand < Thor::Group include Thor::Actions no_tasks do def plugin_class_name(plugin_name) Thor::Util.camel_case(plugin_name) end def archangel_version Archangel.version[/(.*)\./, 1] end def random_compliment [ "You look lovely today by the way.", "I have a feeling you're about to build something amazing.", "Of all the people in the world, you're my favorite." ].sample end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
archangel-0.3.0 | lib/archangel/commands/base_command.rb |