示例#1
0
 @Override
 public void startProject(Project project) {
   currentProjectHasTasks = false;
   currentProjectHasRules = false;
   hasContent = false;
   detail = false;
   super.startProject(project);
 }
示例#2
0
 @Override
 public void complete() throws IOException {
   if (!detail) {
     getTextOutput().println();
     getTextOutput()
         .text("To see all tasks and more detail, run with ")
         .style(UserInput)
         .text("--all")
         .style(Normal)
         .text(".");
     getTextOutput().println();
   }
   super.complete();
 }