Skip to content

Commit b69d87d

Browse files
authored
Register the project flag for minder datasource (#5189)
Signed-off-by: Radoslav Dimitrov <[email protected]>
1 parent 8502c32 commit b69d87d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: cmd/cli/app/datasource/datasource.go

+2
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,6 @@ var DataSourceCmd = &cobra.Command{
2121

2222
func init() {
2323
app.RootCmd.AddCommand(DataSourceCmd)
24+
// Flags for all subcommands
25+
DataSourceCmd.PersistentFlags().StringP("project", "j", "", "ID of the project")
2426
}

0 commit comments

Comments
 (0)