From b69d87de33106bb520e680d416f0ce97909bd97c Mon Sep 17 00:00:00 2001 From: Radoslav Dimitrov Date: Thu, 12 Dec 2024 15:29:54 +0200 Subject: [PATCH] Register the project flag for minder datasource (#5189) Signed-off-by: Radoslav Dimitrov --- cmd/cli/app/datasource/datasource.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/cli/app/datasource/datasource.go b/cmd/cli/app/datasource/datasource.go index f61d350081..060975023d 100644 --- a/cmd/cli/app/datasource/datasource.go +++ b/cmd/cli/app/datasource/datasource.go @@ -21,4 +21,6 @@ var DataSourceCmd = &cobra.Command{ func init() { app.RootCmd.AddCommand(DataSourceCmd) + // Flags for all subcommands + DataSourceCmd.PersistentFlags().StringP("project", "j", "", "ID of the project") }