Class: WindClutter::CLI::Commands::DeClutter::FilePath

Inherits:
Dry::CLI::Command
  • Object
show all
Includes:
Util
Defined in:
lib/windclutter/cli/commands/de_clutter.rb

Overview

Initiate setup for specified project

Instance Method Summary collapse

Instance Method Details

#call(**opt) ⇒ Object



19
20
21
22
23
24
25
# File 'lib/windclutter/cli/commands/de_clutter.rb', line 19

def call(**opt)
  puts
  name = Generator.random_class

  classes = WindClutter::Processor.sort(opt[:args])
  puts WindClutter::Processor.build_single(name, classes)
end