Class: Dapp::CLI::Flush::BuildCache

Inherits:
Base show all
Defined in:
lib/dapp/cli/flush/build_cache.rb

Overview

Flush build cache subcommand

Constant Summary

Constants inherited from Dapp::CLI

SUBCOMMANDS

Instance Method Summary collapse

Methods inherited from Base

#initialize

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::Base

Instance Method Details

#run(argv = ARGV) ⇒ Object



19
20
21
22
# File 'lib/dapp/cli/flush/build_cache.rb', line 19

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