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 7392660
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions Rakefile
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'
)
11 changes: 11 additions & 0 deletions data/completions/ronin-repos.yml
@@ -0,0 +1,11 @@
---
ronin-repos remove:
- $(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 7392660

Please sign in to comment.