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
|
return "", fmt.Errorf("given path is not a directory. %s", absPath) |
Currently, the
-pflag 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/pkg/cmd/helpers/validation.go
Line 69 in 4f602a4