lib/chronicle/etl/cli/subcommand_base.rb in chronicle-etl-0.4.2 vs lib/chronicle/etl/cli/subcommand_base.rb in chronicle-etl-0.4.3
- old
+ new
@@ -1,9 +1,9 @@
module Chronicle
module ETL
module CLI
# Base class for CLI subcommands. Overrides Thor methods so we can use command:subcommand syntax
- class SubcommandBase < ::Thor
+ class SubcommandBase < Chronicle::ETL::CLI::CLIBase
# Print usage instructions for a subcommand
def self.help(shell, subcommand = false)
list = printable_commands(true, subcommand)
::Thor::Util.thor_classes_in(self).each do |klass|
list += klass.printable_commands(false)