Skip to content

Commit 68553e1

Browse files
authored
Promote files, checkins, and schedule to core commands (#397)
1 parent f8def41 commit 68553e1

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎internal/cli/help.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ var curatedCategories = []struct {
7777
{
7878
heading: "CORE COMMANDS",
7979
category: "Core Commands",
80-
include: map[string]bool{"projects": true, "todos": true, "todolists": true, "messages": true, "chat": true, "cards": true},
80+
include: map[string]bool{"projects": true, "todos": true, "todolists": true, "messages": true, "chat": true, "cards": true, "files": true, "checkins": true, "schedule": true},
8181
},
8282
{
8383
heading: "SHORTCUTS",

‎internal/commands/commands.go‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ func CommandCategories() []CommandCategory {
4444
{Name: "messages", Category: "core", Description: "Manage messages", Actions: []string{"list", "show", "create", "update", "publish", "pin", "unpin", "trash", "archive", "restore"}},
4545
{Name: "chat", Category: "core", Description: "Chat in real-time", Actions: []string{"list", "messages", "post", "upload", "line", "delete"}},
4646
{Name: "cards", Category: "core", Description: "Manage Kanban cards", Actions: []string{"list", "show", "create", "update", "move", "columns", "steps", "trash", "archive", "restore"}},
47+
{Name: "files", Category: "core", Description: "Manage files, documents, and folders", Actions: []string{"list", "show", "download", "update", "trash", "archive", "restore"}},
48+
{Name: "checkins", Category: "core", Description: "View automatic check-ins", Actions: []string{"questions", "question", "answers", "answer"}},
49+
{Name: "schedule", Category: "core", Description: "Manage schedule entries", Actions: []string{"show", "entries", "create", "update"}},
4750
},
4851
},
4952
{
@@ -65,7 +68,6 @@ func CommandCategories() []CommandCategory {
6568
{
6669
Name: "Files & Docs",
6770
Commands: []CommandInfo{
68-
{Name: "files", Category: "files", Description: "Manage files, documents, and folders", Actions: []string{"list", "show", "download", "update", "trash", "archive", "restore"}},
6971
{Name: "uploads", Category: "files", Description: "List and manage uploads", Actions: []string{"list", "show", "download", "update", "trash", "archive", "restore"}},
7072
{Name: "vaults", Category: "files", Description: "Manage folders (vaults)", Actions: []string{"list", "show", "download", "update", "trash", "archive", "restore"}},
7173
{Name: "docs", Category: "files", Description: "Manage documents", Actions: []string{"list", "show", "download", "update", "trash", "archive", "restore"}},
@@ -74,9 +76,7 @@ func CommandCategories() []CommandCategory {
7476
{
7577
Name: "Scheduling & Time",
7678
Commands: []CommandInfo{
77-
{Name: "schedule", Category: "scheduling", Description: "Manage schedule entries", Actions: []string{"show", "entries", "create", "update"}},
7879
{Name: "timesheet", Category: "scheduling", Description: "Manage time tracking", Actions: []string{"report", "project", "item"}},
79-
{Name: "checkins", Category: "scheduling", Description: "View automatic check-ins", Actions: []string{"questions", "question", "answers", "answer"}},
8080
{Name: "timeline", Category: "scheduling", Description: "View activity timelines", Actions: []string{}},
8181
{Name: "reports", Category: "scheduling", Description: "View reports", Actions: []string{"assignable", "assigned", "overdue", "schedule"}},
8282
{Name: "assignments", Category: "scheduling", Description: "View my assignments", Actions: []string{"list", "completed", "due"}},

0 commit comments

Comments
 (0)