Rakefile in ronin-exploits-1.0.6 vs Rakefile in ronin-exploits-1.1.0.rc1
- old
+ new
@@ -38,5 +38,15 @@
require 'yard'
YARD::Rake::YardocTask.new
require 'kramdown/man/task'
Kramdown::Man::Task.new
+
+require 'command_kit/completion/task'
+CommandKit::Completion::Task.new(
+ class_file: 'ronin/exploits/cli',
+ class_name: 'Ronin::Exploits::CLI',
+ input_file: 'data/completions/ronin-exploits.yml',
+ output_file: 'data/completions/ronin-exploits'
+)
+
+task :setup => %w[man command_kit:completion]