Class: Dapp::CLI::Push

Inherits:
Base
  • Object
show all
Defined in:
lib/dapp/cli/push.rb

Overview

CLI push subcommand

Direct Known Subclasses

Smartpush

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Dapp::CLI::Base

Instance Method Details

#run(argv = ARGV) ⇒ Object



58
59
60
61
62
# File 'lib/dapp/cli/push.rb', line 58

def run(argv = ARGV)
  self.class.parse_options(self, argv)
  repo = self.class.required_argument(self)
  Controller.new(cli_options: config, patterns: cli_arguments).public_send(class_to_lowercase, repo)
end