Skip to content

Make -d optional and default it to the current directory #8

@nickserv

Description

@nickserv

When I use should_clean, I usually need to run it in the current directory. should_clean -d . works fine, but I think it would be very useful if it defaulted to the current directory so should_clean would work alone. Besides, several similar tools like transpec and rubocop already default to scanning the current directory when no paths are given.

I tried to implement this myself, though I'm having a hard time getting -d to default to a value without any errors.

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