Skip to content

Commit

Permalink
chore: add note about deprecated 'project statuses'
Browse files Browse the repository at this point in the history
Support will be dropped with v0.21.0.

See #120
  • Loading branch information
nikoksr committed Jun 12, 2020
1 parent 19f6564 commit b8197e2
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
5 changes: 3 additions & 2 deletions cmd/proji/cmd/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
5 changes: 3 additions & 2 deletions cmd/proji/cmd/statusAdd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
5 changes: 3 additions & 2 deletions cmd/proji/cmd/statusLs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
},
Expand Down
5 changes: 3 additions & 2 deletions cmd/proji/cmd/statusRm.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b8197e2

Please sign in to comment.