Closed orbsmiv closed 7 years ago
Sounds good to me. I'll put something together soon.
Please try https://github.com/chilcote/outset/tree/recursive_walk and let me know if that does what you expect.
Implementation looks good although I'm on leave until Friday so not in a position to check on work's systems. One small (possibly inaccurate!) observation... is os.path.join
in line 250 now unnecessary given that the walk produces absolute paths?
Nope I think you are correct. Nice catch. I updated the branch.
Finally managed to test this and it works great, thanks!
Right on, thank you.
Have you considered using e.g.
os.path.walk
instead ofos.listdir
in the _processitems function? For organisation of the scripts, particularly those which run regularly, it would be helpful if Outset could recurse subdirectories so that, for example, all scripts relating to a given application could be collated.