Skip to content

Allow for the ability to check whether a Path has an executable bit set #1961

@sielicki

Description

@sielicki

It would be nice to be able to use click in the scenario where the user might pass in a path to an executable. In the case that a binary is produced in a folder of the same name, this would catch the scenario where the user passes the directory containing the executable instead of the correct /some/long/path/programname/programname

This is very straightforward to add: https://github.com/sielicki/click/commit/9cd5150da149fa2bff21208811deac6938acfece

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions