Class: Completely::Commands::Base
- Inherits:
-
MisterBin::Command
- Object
- MisterBin::Command
- Completely::Commands::Base
show all
- Defined in:
- lib/completely/commands/base.rb
Class Method Summary
collapse
Class Method Details
.environment_config_path ⇒ Object
16
17
18
|
# File 'lib/completely/commands/base.rb', line 16
def environment_config_path
environment "COMPLETELY_CONFIG_PATH", "Path to a completely configuration file [default: completely.yaml]"
end
|
.environment_debug ⇒ Object
20
21
22
|
# File 'lib/completely/commands/base.rb', line 20
def environment_debug
environment "COMPLETELY_DEBUG", "It not empty, the generated script will include an additional debugging snippet that outputs the compline and current word to a text file when a completion is requested"
end
|
.option_function ⇒ Object
12
13
14
|
# File 'lib/completely/commands/base.rb', line 12
def option_function
option "-f --function NAME", "Modify the name of the function in the generated script"
end
|
.param_config_path ⇒ Object
8
9
10
|
# File 'lib/completely/commands/base.rb', line 8
def param_config_path
param "CONFIG_PATH", "Path to the YAML configuration file [default: completely.yaml]\nCan also be set by an environment variable"
end
|