Skip to content

Awesome. Small suggestion for system wide usage: #1

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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