Skip to content

Support symbolic links when using --file arg #5353

Open
@eleftherias

Description

@eleftherias

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions