Skip to content

Commit

Permalink
Added command_kit-completion (issue #118).
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Jan 4, 2024
1 parent 790fbb1 commit 8da0b92
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/coverage
/data/completions/ronin-exploits
/doc
/man/*.[0-9]
/pkg
Expand Down
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,6 @@ group :development do
gem 'stackprof', require: false, platform: :mri
gem 'rubocop', require: false, platform: :mri
gem 'rubocop-ronin', '~> 0.2', require: false, platform: :mri

gem 'command_kit-completion', '~> 0.1', require: false
end
7 changes: 7 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,10 @@ 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',
output_file: 'data/completions/ronin-exploits'
)
1 change: 1 addition & 0 deletions gemspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ metadata:
rubygems_mfa_required: 'true'

generated_files:
- data/completions/ronin-exploits
- man/ronin-exploits.1
- man/ronin-exploits-irb.1
- man/ronin-exploits-list.1
Expand Down

0 comments on commit 8da0b92

Please sign in to comment.