Method: PGit::Command::Show#execute!
- Defined in:
- lib/pgit/command/show.rb
#execute! ⇒ Object
15 16 17 18 19 20 21 22 23 24 |
# File 'lib/pgit/command/show.rb', line 15 def execute! = "No commands are listed for this project. Run `pgit cmd add --help` for more info." raise PGit::Error::User, if commands.empty? if search.empty? show_all_of_current_project else show_one end end |