lib/gemirro/cli/init.rb in gemirro-0.13.2 vs lib/gemirro/cli/init.rb in gemirro-0.13.3
- old
+ new
@@ -1,9 +1,10 @@
# -*- coding: utf-8 -*-
Gemirro::CLI.options.command 'init' do
banner 'Usage: gemirro init [DIRECTORY] [OPTIONS]'
description 'Sets up a new mirror'
separator "\nOptions:\n"
+
on :force, 'Force overwrite'
run do |opts, args|
directory = File.expand_path(args[0] || Dir.pwd)
template = Gemirro::Configuration.template_directory