Currently, the -p flag fails if you specify a file. Since we changed the name of the flag to no longer reference a directory, we can probably change it so it does not fail.
./idpbuilder create -p /tmp/minio.yaml
Error: given path is not a directory. /tmp/minio.yaml
Currently, the
-p
flag fails if you specify a file. Since we changed the name of the flag to no longer reference a directory, we can probably change it so it does not fail.https://github.com/cnoe-io/idpbuilder/blob/4f602a458567acf847d06807f1cc5764086ee50b/pkg/cmd/helpers/validation.go#L69