Class: Bashly::Libraries::CompletionsYAML
- Inherits:
-
Base
- Object
- Base
- Bashly::Libraries::CompletionsYAML
show all
- Defined in:
- lib/bashly/libraries/completions/completions_yaml.rb
Instance Attribute Summary
Attributes inherited from Base
#args
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#files ⇒ Object
4
5
6
7
8
9
10
11
|
# File 'lib/bashly/libraries/completions/completions_yaml.rb', line 4
def files
[
{
path: target_path,
content: command.completion_data.to_yaml,
},
]
end
|
#post_install_message ⇒ Object
13
14
15
16
17
|
# File 'lib/bashly/libraries/completions/completions_yaml.rb', line 13
def post_install_message
<<~MESSAGE
This file can be converted to a completions script using the g`completely` gem.
MESSAGE
end
|