Skip to content

Commit

Permalink
Merge pull request #1031 from CircleCI-Public/DEVEX-1381-cli-deprecat…
Browse files Browse the repository at this point in the history
…e-command-circleci-follow

deprecate follow command
  • Loading branch information
abdelDriowya authored Jan 11, 2024
2 parents 5e3ae87 + d78516c commit c0a1d20
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 c0a1d20

Please sign in to comment.