Skip to content

Commit

Permalink
deprecate follow command
Browse files Browse the repository at this point in the history
  • Loading branch information
abdelDriowya committed Jan 3, 2024
1 parent 5e3ae87 commit d78516c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/follow.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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
}

0 comments on commit d78516c

Please sign in to comment.