runme icon indicating copy to clipboard operation
runme copied to clipboard

Support Monorepositories

Open rawkode opened this issue 1 year ago • 2 comments

I am using runme in a monorepository. The challenge is that runme scans my entire repository for tasks.

The default behavior should likely be the current directory, and down; rather than up to .git.

There should be a flag to support the entire repository: runme --git

rawkode avatar Sep 25 '24 14:09 rawkode

Any chance your mono-repo is public? Could you point me to it, @rawkode?

Fwiw, you can use runme --project ./subdir or runme --project . to hard restrict it's discovery to a subdir.

sourishkrout avatar Sep 25 '24 21:09 sourishkrout

It is, but I was only going through every service yesterday adding all my runme tasks. I'll push them up today

https://github.com/rawkodeacademy/rawkodeacademy

My feeling is that the current directory and down should be the default scope for tasks, this is what I and hopefully others would expect

I feel the flag should be to used to expand that scope, not restrict it

Hopefully others can share their thoughts

rawkode avatar Sep 26 '24 08:09 rawkode