Skip to content

CLI command crashes with unhandled FileNotFoundError when input file does not exist #15

Description

@sowjanyakb

Description

Several CLI commands do not validate whether the provided input file exists before attempting to open it.

Running commands with a non-existent file causes an unhandled exception and displays a raw Python traceback instead of a user-friendly error message.

Root Cause Analysis

The CLI directly attempts to open the provided file path without checking whether the file exists or handling FileNotFoundError.

Because of this, exceptions propagate to the terminal and crash the command execution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions