View Single Post
  #10   Spotlight this post!  
Unread 11-02-2015, 11:33
Pault's Avatar
Pault Pault is offline
Registered User
FRC #0246 (Overclocked)
Team Role: College Student
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Boston
Posts: 618
Pault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond repute
Re: Conditional Command Group?

I'm not sure how much you know about inheritance (maybe your mentor can help you), but you could create a class that extends Cmd2 and overrides the isFinished method to stop immediately if the conditions are met.
Reply With Quote