Class: Warp::Dir::Command::List
- Inherits:
-
Warp::Dir::Command
- Object
- Warp::Dir::Command
- Warp::Dir::Command::List
- Defined in:
- lib/warp/dir/command/list.rb
Instance Attribute Summary
Attributes inherited from Warp::Dir::Command
#formatter, #point, #point_name, #point_path, #store
Instance Method Summary collapse
Methods inherited from Warp::Dir::Command
command_name, #config, help, inherited, #initialize, #inspect, installed_commands, #needs_point?, #on, #puts
Constructor Details
This class inherits a constructor from Warp::Dir::Command
Instance Method Details
#run(*args) ⇒ Object
8 9 10 11 12 13 |
# File 'lib/warp/dir/command/list.rb', line 8 def run(*args) formatted_list = ::Warp::Dir::Formatter.new(store).format_store on :success do formatted_list.blue.bold end end |