Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork0
Generate shell completions for command_kit commands
License
NotificationsYou must be signed in to change notification settings
postmodern/command_kit-completion
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Adds a rake task that generates shell completion rules for acommand_kit CLI.The rake task loads the CLI class and uses thecompletely library to generatethe shell completion rules.
- Supports automatically generating completion rules from acommand_kit CLIclass's options and sub-commands.
- Supports loading additional completion rules from a YAML file.
require'command_kit/completion/task'CommandKit::Completion::Task.new(class_file:'./examples/cli',class_name:'Foo::CLI',output_file:'completion.sh')
rake command_kit:completion
- Ruby >= 3.0.0
- command_kit ~> 0.1
- completely ~> 0.6
Copyright (c) 2023-2024 Hal Brodigan
See {file:LICENSE.txt} for details.
About
Generate shell completions for command_kit commands
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.