Class: Chid::Commands::Alias::Create
- Inherits:
-
Chid::Command
- Object
- Chid::Command
- Chid::Commands::Alias::Create
- Defined in:
- lib/chid/commands/alias/create.rb
Constant Summary
Constants inherited from Chid::Command
Instance Attribute Summary
Attributes inherited from Chid::Command
Instance Method Summary collapse
Methods inherited from Chid::Command
command, help, #initialize, map_options_with_values, run
Constructor Details
This class inherits a constructor from Chid::Command
Instance Method Details
#run ⇒ Object
22 23 24 25 26 |
# File 'lib/chid/commands/alias/create.rb', line 22 def run add_command_on_bashrc print "Please run: source ~/.bashrc".blue end |