refine pm cli and descriptions

This commit is contained in:
Robin Olsen
2026-03-16 13:06:16 +01:00
parent 43ca776536
commit 9a70851a0a
5 changed files with 24 additions and 15 deletions

View File

@@ -86,18 +86,20 @@ func init() {
RootCmd.AddCommand(issues.CommentCmd)
RootCmd.AddCommand(issues.CommentsCmd)
var SurveyRootCmd = survey.RootCmd
SurveyRootCmd.GroupID = "survey"
RootCmd.AddGroup(&cobra.Group{ID: "survey", Title: "Survey Commands"})
survey.StartCmd.GroupID = "survey"
survey.StatusCmd.GroupID = "survey"
survey.SubmitCmd.GroupID = "survey"
survey.ListTasksCmd.GroupID = "survey"
survey.ListInterfacesCmd.GroupID = "survey"
survey.StartCmd.RunE = runStartCmd
SurveyRootCmd.AddCommand(survey.StartCmd)
SurveyRootCmd.AddCommand(survey.StatusCmd)
SurveyRootCmd.AddCommand(survey.SubmitCmd)
SurveyRootCmd.AddCommand(survey.ListTasksCmd)
SurveyRootCmd.AddCommand(survey.ListInterfacesCmd)
RootCmd.AddCommand(survey.StartCmd)
RootCmd.AddCommand(survey.StatusCmd)
RootCmd.AddCommand(survey.SubmitCmd)
RootCmd.AddCommand(SurveyRootCmd)
RootCmd.AddCommand(survey.ListTasksCmd)
RootCmd.AddCommand(survey.ListInterfacesCmd)
RootCmd.AddGroup(&cobra.Group{ID: "other", Title: "Additional Commands"})
RootCmd.SetHelpCommandGroupID("other")

View File

@@ -16,7 +16,9 @@ const (
IntroTitle = "Project Management Interface Survey"
IntroductionText = `This survey evaluates how people use different project management interfaces to complete common tasks.
You will complete a short set of task-based exercises and answer a few follow-up questions about the experience.
Your feedback helps us compare interface design and usability.`
Your feedback helps us compare interface design and usability.
The survey takes around 15-20 minutes to complete.`
Disclaimer = `Data Collection Notice

View File

@@ -78,10 +78,10 @@ func BaseDetails(interfaceType InterfaceType) TaskDetails {
}
return TaskDetails{
Title: "Base Task",
Description: "This is a base task.",
TimeToComplete: "10m",
Difficulty: "Easy",
Title: "title not set",
Description: "description not set",
TimeToComplete: "not set",
Difficulty: "not set",
InterfaceType: interfaceType,
InterfaceDescription: interfaceDesc,
}