Skip to content

Readfile should accept filenames with - and return file content along with corrected filename. #48

@bhauman

Description

@bhauman

The read_file tool should accept filenames with - and return file content along with corrected filename.

More clearly read_file normally fails if the file isn't found...

but when it's a simple problem where the filename is src/example/core-stuff.clj when it should be src/example/core_stuff.clj we should fix it but set a flag to add a notice to the output that we the original filename is wrong and we are providing the corrected result instead...

The collapsed view output shows how to add extra messaging along with file contents

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions