Class: Braid::Commands::List
- Inherits:
-
Braid::Command
- Object
- Braid::Command
- Braid::Commands::List
- Defined in:
- lib/braid/commands/list.rb
Instance Method Summary collapse
Methods inherited from Braid::Command
#config, #force?, msg, #msg, run, #verbose?
Methods included from Operations::VersionControl
Instance Method Details
#run(path = nil, options = {}) ⇒ Object
4 5 6 7 8 |
# File 'lib/braid/commands/list.rb', line 4 def run(path = nil, = {}) with_reset_on_error do path ? list_one(path, ) : list_all() end end |