Class: Bashly::Libraries::Help
Instance Attribute Summary
Attributes inherited from Base
#args
Instance Method Summary
collapse
#asset, #asset_content
Methods inherited from Base
#initialize
Instance Method Details
#files ⇒ Object
6
7
8
9
10
11
12
13
|
# File 'lib/bashly/libraries/help/help.rb', line 6
def files
[
{
path: "#{Settings.source_dir}/help_command.#{Settings.partials_extension}",
content: help_command,
},
]
end
|
#post_install_message ⇒ Object
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# File 'lib/bashly/libraries/help/help.rb', line 15
def post_install_message
" Add this as a command to your bashly.yml:\n\n g`commands`:\n g`- name`: m`help`\n g` help`: m`Show help about a command`\n g` args`:\n g`- name`: m`command`\n g` help`: m`Help subject`\n\n MESSAGE\nend\n"
|