Skip to content

Awesome. Small suggestion for system wide usage: #1

@trusktr

Description

@trusktr

The argument to the file is the sql file you wish to fix, but the path must be relative to the location of the script.

Instead, allow it to be relative or absolute (start without ot with a /, respectively).

This would allow one to put the script in /usr/bin/ for example, then use it at the command line and pass absolute paths.

Also, if a relative path is passed, make it relative to the command line's pwd, not relative to the script.

Other than that, it worked perfect! THanks!

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