Module: CLAideCompletion
- Defined in:
- lib/claide_completion.rb,
lib/claide_completion/generator.rb,
lib/claide_completion/gem_version.rb,
lib/claide_completion/generator/zsh.rb
Defined Under Namespace
Modules: Generator, Prepend
Constant Summary
collapse
- VERSION =
'1.0.0'
Class Method Summary
collapse
Class Method Details
.included(mod) ⇒ Object
4
5
6
7
8
9
10
11
|
# File 'lib/claide_completion.rb', line 4
def self.included(mod)
if defined?(mod::DEFAULT_ROOT_OPTIONS)
mod::DEFAULT_ROOT_OPTIONS << [
'--completion-script', 'Print the auto-completion script'
]
end
mod.prepend(Prepend)
end
|