Class: Nutella::Runs
Instance Method Summary collapse
Instance Method Details
#run(args = nil) ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/core/commands/runs.rb', line 8 def run(args=nil) # If invoked with "all" it will show all the runs under this instance of nutella if args[0]=='all' display_all_runs else # If current dir is not a nutella project, return return unless Nutella.current_project.exist? # Display list of runs for current nutella project display_project_runs end end |