@@ -103,7 +103,7 @@ def command_task(ctx: CLIContext, description: str, priority: TaskPriority, proj
103103 )
104104 if priority == TaskPriority .SERIOUS :
105105 label = "Serious"
106- elif priority == TaskPriority .RANDOM :
106+ elif priority == TaskPriority .THOUGHT :
107107 label = "Thought"
108108 else :
109109 label = "Generated"
@@ -462,7 +462,7 @@ def command_check(ctx: CLIContext) -> int:
462462 priority_display = f"[red bold]{ label } [/]"
463463 elif priority_value == TaskPriority .GENERATED .value :
464464 priority_display = f"[magenta]{ label } [/]"
465- elif priority_value == TaskPriority .RANDOM .value :
465+ elif priority_value == TaskPriority .THOUGHT .value :
466466 priority_display = f"[cyan]{ label } [/]"
467467 else :
468468 priority_display = label
@@ -840,12 +840,12 @@ def build_parser() -> argparse.ArgumentParser:
840840 subparsers = parser .add_subparsers (dest = "command" , required = True )
841841
842842 task_parser = subparsers .add_parser ("task" , help = "Queue a serious task" )
843- task_parser .add_argument ("description " , nargs = argparse . REMAINDER , help = "Task description " )
844- task_parser .add_argument ("-p " , "--project" , help = "Project name to associate with the task " )
843+ task_parser .add_argument ("-p " , "--project" , required = True , help = "Project name to associate with the task (required) " )
844+ task_parser .add_argument ("description " , nargs = '+' , help = "Task description " )
845845
846846 think_parser = subparsers .add_parser ("think" , help = "Capture a random thought" )
847- think_parser .add_argument ("description " , nargs = argparse . REMAINDER , help = "Thought description " )
848- think_parser .add_argument ("-p " , "--project" , help = "Project name to associate with the thought " )
847+ think_parser .add_argument ("-p " , "--project" , required = True , help = "Project name to associate with the thought (required) " )
848+ think_parser .add_argument ("description " , nargs = '+' , help = "Thought description " )
849849
850850 subparsers .add_parser ("check" , help = "Show comprehensive system overview with rich output" )
851851
@@ -883,7 +883,7 @@ def main(argv: Optional[list[str]] = None) -> int:
883883 description = " " .join (args .description ).strip ()
884884 if not description :
885885 parser .error ("think requires a description" )
886- return command_task (ctx , description , TaskPriority .RANDOM , args .project )
886+ return command_task (ctx , description , TaskPriority .THOUGHT , args .project )
887887
888888 if args .command == "check" :
889889 return command_check (ctx )
0 commit comments