minder icon indicating copy to clipboard operation
minder copied to clipboard

Support symbolic links when using --file arg

Open eleftherias opened this issue 1 year ago • 0 comments

Please describe the enhancement

To create a data source, rule type or profile, we pass a filename as a argument, eg minder ruletype create --file path/to/fiile.yaml

If the file is a symbolic link which points to another file, then the Minder CLI fails with the message no such file or directory.

We should support these types of files and instead of failing we should follow the symlink.

Solution Proposal

Follow the symlink and create the resource that the link points to.

Describe alternatives you've considered

No response

Additional context

No response

Acceptance Criteria

No response

eleftherias avatar Jan 24 '25 14:01 eleftherias