From d78516c1999028f8ba5cd718bebf5704ce385e62 Mon Sep 17 00:00:00 2001 From: abdelDriowya <111757332+abdelDriowya@users.noreply.github.com> Date: Wed, 3 Jan 2024 15:26:51 +0100 Subject: [PATCH] deprecate follow command --- cmd/follow.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/follow.go b/cmd/follow.go index 9512423ee..67a92c552 100644 --- a/cmd/follow.go +++ b/cmd/follow.go @@ -53,7 +53,7 @@ func followProjectCommand(config *settings.Config) *cobra.Command { } followCommand := &cobra.Command{ Use: "follow", - Short: "Attempt to follow the project for the current git repository.", + Short: "Attempt to follow the project for the current git repository.\nThis command is intended to be run from a git repository with a remote named 'origin' that is hosted on Github or Bitbucket only. NOTE: this command is deprecated and is not reliable on Github projects created after September 2023", RunE: func(cmd *cobra.Command, _ []string) error { err := followProject(opts) @@ -64,6 +64,7 @@ func followProjectCommand(config *settings.Config) *cobra.Command { return err }, + Deprecated: "This command is deprecated and is not reliable on Github projects created after September 2023", } return followCommand }