remove support for project ID

Only public projects can be found using the project ID
This commit is contained in:
Clement Sam 2021-01-27 03:24:01 +00:00
parent c03d8a2dfb
commit 1bd14eaf39
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ import (
)
func EnableRepoOverride(cmd *cobra.Command, f *Factory) {
cmd.PersistentFlags().StringP("repo", "R", "", "Select another repository using the `OWNER/REPO` or `GROUP/NAMESPACE/REPO` format or the project ID or full URL or git URL")
cmd.PersistentFlags().StringP("repo", "R", "", "Select another repository using the `OWNER/REPO` or `GROUP/NAMESPACE/REPO` format or full URL or git URL")
cmd.PersistentPreRunE = func(cmd *cobra.Command, args []string) error {
repoOverride, err := cmd.Flags().GetString("repo")