Skip to content

My confusion about --dir #69

@coke

Description

@coke
10:43 < [Coke]> would be nice if the help gave an example of a callable for --dir
10:43 < [Coke]> I got an error message that --ignore-dir in rak is --dir, tried that directly, no love.
10:43 < [Coke]> (read the help to find it's a Callable)
10:44 < [Coke]> ah, the deny above is helpful. so rak --dir='* ne "ignored_dir"' ...
10:49 < [Coke]> shouldn't rak --dir=1 "thing" search recursively?
10:50 < [Coke]> (also tried --dir=True)
10:55 <@lizmat> trying to recollect atm
10:56 < [Coke]> I'm not blocked or anything, now down to curiosity
10:58 <@lizmat> Specifying --dir as a flag will include
10:58 <@lizmat> *all* subdirectories, while specifying --/dir (or --not-dir) will
10:58 <@lizmat> cause no recursion to happen whatsoever
10:58 <@lizmat> --dir=1 is not as a flag
11:00 < [Coke]> why is --dir=1 not a callable like --dir='*ne"skip-this"' ?
11:00 <@lizmat> good question, I would have to spelunk
11:01 <@lizmat> please make an issue  :-)
11:01 < [Coke]> also --/dir=skip-dir doesn't recurse.
11:02 < [Coke]> it only does the current dir

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions