From b8197e2f82b3d09c5e30e44a307288943333df85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niko=20K=C3=B6ser?= Date: Fri, 12 Jun 2020 19:43:55 +0200 Subject: [PATCH] chore: add note about deprecated 'project statuses' Support will be dropped with v0.21.0. See #120 --- cmd/proji/cmd/status.go | 5 +++-- cmd/proji/cmd/statusAdd.go | 5 +++-- cmd/proji/cmd/statusLs.go | 5 +++-- cmd/proji/cmd/statusRm.go | 5 +++-- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/cmd/proji/cmd/status.go b/cmd/proji/cmd/status.go index 2f868af2..372954fe 100644 --- a/cmd/proji/cmd/status.go +++ b/cmd/proji/cmd/status.go @@ -5,8 +5,9 @@ import ( ) var statusCmd = &cobra.Command{ - Use: "status", - Short: "Manage statuses", + Use: "status", + Short: "Manage statuses", + Deprecated: "support for project statuses will be dropped with v0.21.0", } func init() { diff --git a/cmd/proji/cmd/statusAdd.go b/cmd/proji/cmd/statusAdd.go index b6838755..4161cb71 100644 --- a/cmd/proji/cmd/statusAdd.go +++ b/cmd/proji/cmd/statusAdd.go @@ -12,8 +12,9 @@ import ( ) var statusAddCmd = &cobra.Command{ - Use: "add STATUS [STATUS...]", - Short: "Add one or more statuses", + Use: "add STATUS [STATUS...]", + Short: "Add one or more statuses", + Deprecated: "support for project statuses will be dropped with v0.21.0", RunE: func(cmd *cobra.Command, args []string) error { if len(args) < 1 { return fmt.Errorf("missing status") diff --git a/cmd/proji/cmd/statusLs.go b/cmd/proji/cmd/statusLs.go index e7f69170..544ca9f9 100644 --- a/cmd/proji/cmd/statusLs.go +++ b/cmd/proji/cmd/statusLs.go @@ -8,8 +8,9 @@ import ( ) var statusLsCmd = &cobra.Command{ - Use: "ls", - Short: "List statuses", + Use: "ls", + Short: "List statuses", + Deprecated: "support for project statuses will be dropped with v0.21.0", RunE: func(cmd *cobra.Command, args []string) error { return listStatuses() }, diff --git a/cmd/proji/cmd/statusRm.go b/cmd/proji/cmd/statusRm.go index 4427c5b4..0c7e97e6 100644 --- a/cmd/proji/cmd/statusRm.go +++ b/cmd/proji/cmd/statusRm.go @@ -12,8 +12,9 @@ import ( var removeAllStatuses, forceRemoveStatuses bool var statusRmCmd = &cobra.Command{ - Use: "rm ID [ID...]", - Short: "Remove one or more statuses", + Use: "rm ID [ID...]", + Short: "Remove one or more statuses", + Deprecated: "support for project statuses will be dropped with v0.21.0", RunE: func(cmd *cobra.Command, args []string) error { // Collect statuses that will be removed