Class: Dapp::CLI::Flush::StageCache

Inherits:
Dapp::CLI::Flush show all
Defined in:
lib/dapp/cli/flush/stage_cache.rb

Overview

Flush stage cache subcommand

Constant Summary

Constants inherited from Dapp::CLI::Flush

SUBCOMMANDS

Constants inherited from Dapp::CLI

SUBCOMMANDS

Instance Method Summary collapse

Methods inherited from Dapp::CLI

#initialize

Methods included from Helper::Cli

#composite_options, #parse_options, #parse_subcommand, #prepare_subcommand, #required_argument, #run_subcommand

Methods included from Helper::Trivia

class_to_lowercase, #class_to_lowercase, #delete_file, #kwargs, #to_mb

Constructor Details

This class inherits a constructor from Dapp::CLI

Instance Method Details

#run(argv = ARGV) ⇒ Object



16
17
18
19
# File 'lib/dapp/cli/flush/stage_cache.rb', line 16

def run(argv = ARGV)
  self.class.parse_options(self, argv)
  Controller.flush_stage_cache
end