Replies: 2 comments 4 replies
-
|
I imagine it would walk up the parent directory chain, stopping at filesystem mounts, looking for README.md. CWD should be the current directory. Basically, how |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
So… we already do walk up the directory tree. We stop at Is something not working as expected? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Edit: the README.md is being properly located; this has become about my counter-intuitive internal mental translation of path
.to thegetting-startedscript. I should probably stop doing that.Given how any number of tools work (
npmandjustspring immediately to mind), what is less surprising here:Current behavior is to report
tea: command not found: undefined. Tools, such as those mentioned at the top, would instead start walking up the tree looking forREADME.md, and locating it at... However, if we do that, should $CWD be..or.during execution? Do we need a $SUPER_PWD within scripts, to allow for both behaviors to be available?I'm not sure there's One True Answer to this, but I wonder what's most/least surprising to users.
Beta Was this translation helpful? Give feedback.
All reactions