Skip to content

Commit

Permalink
Added custom completion rules for completing repo names.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Apr 27, 2024
1 parent 8088efe commit 5250d13
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ require 'command_kit/completion/task'
CommandKit::Completion::Task.new(
class_file: 'ronin/repos/cli',
class_name: 'Ronin::Repos::CLI',
input_file: 'data/completions/ronin-repos.yml',
output_file: 'data/completions/ronin-repos'
)
13 changes: 13 additions & 0 deletions data/completions/ronin-repos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
ronin-repos remove:
- $(ronin-repos list)
ronin-repos rm:
- $(ronin-repos list)
ronin-repos show:
- $(ronin-repos list)
ronin-repos info:
- $(ronin-repos list)
ronin-repos update:
- $(ronin-repos list)
ronin-repos up:
- $(ronin-repos list)

0 comments on commit 5250d13

Please sign in to comment.