Class: AstroSubframeOrganizer::Commands::Cleanup::Unorganize
- Inherits:
-
Dry::CLI::Command
- Object
- Dry::CLI::Command
- AstroSubframeOrganizer::Commands::Cleanup::Unorganize
- Includes:
- SharedOptions
- Defined in:
- lib/astro_subframe_organizer/commands/cleanup/unorganize.rb
Instance Method Summary collapse
-
#call(config: nil, verbose: false, dry_run: false, path: Dir.pwd) ⇒ Object
rubocop:enable Layout/LineLength.
Methods included from SharedOptions
Instance Method Details
#call(config: nil, verbose: false, dry_run: false, path: Dir.pwd) ⇒ Object
rubocop:enable Layout/LineLength
18 19 20 21 |
# File 'lib/astro_subframe_organizer/commands/cleanup/unorganize.rb', line 18 def call(config: nil, verbose: false, dry_run: false, path: Dir.pwd, **) setup(config: config, verbose: verbose) AstroSubframeOrganizer::Utils::Unorganizer.new(path).unorganize(dry_run: dry_run, verbose: verbose) end |